:root {
    --apple-bg: #ffffff;
    --apple-section-bg: #f5f5f7;
    --apple-text: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-link: #0066cc;
    --apple-button: #0071e3;
    --apple-nav-bg: rgba(251, 251, 253, 0.8);
    --border-color: #d2d2d7;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
    background-color: var(--apple-bg);
    color: var(--apple-text);
    line-height: 1.5;
}

/* Header & Nav */
header {
    background-color: var(--apple-nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 48px;
    display: flex;
    align-items: center;
}

nav {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    font-size: 12px;
    opacity: 0.8;
    cursor: pointer;
}

.nav-links li:hover { opacity: 1; }

.btn-signup {
    background-color: var(--apple-button);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 12px;
    cursor: pointer;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 24px;
    color: var(--apple-text-secondary);
}

/* Tool Grid */
.tool-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 22px 100px;
}

.tool-card {
    background: var(--apple-section-bg);
    border-radius: 28px;
    padding: 50px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tool-card:hover { transform: scale(1.01); box-shadow: var(--shadow-soft); }

.tool-icon { font-size: 3rem; margin-bottom: 25px; }

.tool-card h3 { font-size: 32px; font-weight: 600; margin-bottom: 10px; }

.tool-card p { font-size: 17px; color: var(--apple-text-secondary); margin-bottom: 20px; }

.learn-more { color: var(--apple-link); font-size: 17px; text-decoration: none; display: flex; align-items: center; gap: 5px; }

/* Workspace */
.workspace { max-width: 980px; margin: 60px auto; padding: 20px; text-align: center; }

.hidden { display: none !important; }

.workspace-header h1 { font-size: 48px; font-weight: 600; margin-bottom: 10px; }

.drop-zone {
    background-color: var(--apple-section-bg);
    border-radius: 30px;
    padding: 100px 40px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.drop-zone:hover { background-color: #f0f0f2; }

.drop-zone i { font-size: 4rem; }

.drop-zone h2 {
    background: var(--apple-button);
    color: white;
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
}

/* Compression Options UI */
.compression-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0;
    width: 100%;
}

.option-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.option-card.active {
    border-color: var(--apple-button);
    background-color: #f0f7ff;
}

.option-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.option-card p { font-size: 13px; color: var(--apple-text-secondary); line-height: 1.4; }

/* Stats Dashboard */
.stats-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    background: var(--apple-section-bg);
    padding: 30px;
    border-radius: 24px;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-item .label { font-size: 14px; color: var(--apple-text-secondary); margin-bottom: 5px; }

.stat-item .value { font-size: 32px; font-weight: 600; }

.stat-item .value.accent { color: var(--apple-button); }

.stat-item.highlight { background: #ffffff; padding: 15px 25px; border-radius: 16px; box-shadow: var(--shadow-soft); }

.stat-item.highlight .value { color: #34c759; }

.stat-item.separator { color: var(--border-color); font-size: 20px; }

/* Result Area Buttons */
.download-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 30px; }

.download-btn {
    background: var(--apple-button);
    color: white;
    padding: 14px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.download-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.btn-primary {
    background-color: var(--apple-button);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 19px;
    font-weight: 500;
    border-radius: 980px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { filter: brightness(1.05); }

/* Value Proposition Section */
.value-prop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1024px;
    margin: 60px auto;
    padding: 0 22px;
    text-align: center;
}

.prop-item i {
    font-size: 2.5rem;
    color: var(--apple-text);
    margin-bottom: 20px;
}

.prop-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.prop-item p {
    font-size: 14px;
    color: var(--apple-text-secondary);
    line-height: 1.6;
}

/* Ad Placeholder */
.ad-placeholder {
    max-width: 980px;
    margin: 60px auto;
    background: #fbfbfd;
    border: 1px dashed var(--border-color);
    padding: 40px;
    text-align: center;
    border-radius: 20px;
}

.ad-placeholder p {
    font-size: 10px;
    color: var(--apple-text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.ad-placeholder span {
    color: var(--border-color);
    font-size: 14px;
}

/* Footer Links */
.footer-links {
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-links span {
    cursor: pointer;
    margin: 0 5px;
}

.footer-links span:hover {
    color: var(--apple-text);
}

/* Responsive updates */
@media (max-width: 768px) {
    .value-prop { grid-template-columns: 1fr; gap: 40px; }
}
