/* Variables */
:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #2997ff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

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

.logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 6px;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
}

.hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto 60px;
    border-radius: 12px;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    content-visibility: auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero .description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Typing Animation */
.typing {
    display: inline-block;
    border-right: 3px solid var(--text-color);
    padding-right: 2px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-content {
        padding: 0 20px;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--text-color);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hide typing initially until scroll trigger */
.typing.scroll-triggered {
    opacity: 0;
}

.typing.scroll-triggered.revealed {
    opacity: 1;
}


/* Features Section */
.features {
    padding: 100px 20px;
    text-align: center;
}

.features h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--text-color);
}

.features-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.features-list li {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    padding: 15px 0;
    border-bottom: 1px solid #222;
    transition: color 0.3s ease;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    color: var(--text-color);
}

/* Impact Section */
.impact {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.impact-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(45deg, #fff, #888, #fff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.impact-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.impact-desc {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA Footer */
.cta-footer {
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #222;
}

.cta-footer h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-footer>.container>p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.copyright {
    margin-top: 60px !important;
    font-size: 0.9rem !important;
    color: #666 !important;
}

.legal-links {
    margin-top: 15px;
    font-size: 0.85rem;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-color);
}

.legal-links .separator {
    color: #444;
    margin: 0 10px;
}

/* Legal Pages */
.legal-section {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: left;
    align-items: flex-start;
}

.legal-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 10px;
}



/* Navbar Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color);
}

/* Download Page */
.download-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.download-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: black;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    min-width: 280px;
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-label {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.btn-sub {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.version-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Comparison Section */
.comparison {
    padding: 100px 20px;
    text-align: center;
    background-color: #050505;
}

.comparison-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.comparison-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.icon-wrapper {
    font-size: 2rem;
    margin-bottom: 15px;
}

.comparison-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.comparison-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.vs-divider {
    margin: 25px 0;
    font-weight: 800;
    color: #333;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.vs-divider::before,
.vs-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #222;
}

.vs-divider::before {
    left: 0;
}

.vs-divider::after {
    right: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(20, 20, 20, 0.5) 100%);
}

.pricing-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Pricing Cards */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    text-align: left;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-color);
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 500;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
}

.period {
    font-size: 1.2rem;
    align-self: flex-end;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.billed-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.features-list-pricing {
    list-style: none;
    margin-bottom: 40px;
    text-align: center;
}

.features-list-pricing li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: block;
    font-weight: 500;
}

.features-list-pricing.apple-style li {
    font-size: 1.25rem;
    color: #86868b;
    /* Apple grey */
}

.features-list-pricing .highlight {
    color: #f5f5f7;
    /* Apple white */
    font-weight: 600;
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    display: block;
}