/* ========================================
   Apple Style - Complete Redesign
   Based on design.md specifications
   ======================================== */

/* CSS Variables */
:root {
    --apple-white: #ffffff;
    --apple-light-gray: #f5f5f7;
    --apple-gray: #86868b;
    --apple-dark-gray: #1d1d1f;
    --apple-black: #000000;
    --apple-blue: #0066cc;
    --apple-blue-hover: #0077ed;
    --apple-green: #34c759;
    --apple-red: #ff3b30;
    --apple-orange: #ff9500;
    --apple-yellow: #ffcc00;
    --apple-purple: #af52de;
    --apple-pink: #ff2d55;

    /* Legacy variables for blog/about pages */
    --orange: #ff4d00;
    --orange-glow: rgba(255, 77, 0, 0.15);
    --gray-bg: #f5f5f7;
    --dark-light: #1d1d1f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--apple-white) !important;
    color: var(--apple-dark-gray) !important;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Override */
h1, h2, h3, h4, h5, h6,
.hero-title, .hero-subtitle, .hero-eyebrow, .brand-name,
.section-header h2, .section-header p,
.product-card-content h3, .product-card-content p,
.feature-card-large h3, .feature-card-large p,
.testimonial-text, .testimonial-rating, .author-name, .author-role,
.blog-preview-content h3, .blog-preview-content p, .blog-preview-date,
.faq-item h3, .faq-item p,
.bottom-cta h2, .bottom-cta-trust,
.social-stat-value, .social-stat-label,
.stat-value, .stat-text,
.tag, .btn-card, .btn-download, .btn-hero-primary,
.nav-links a, .footer-brand p, .footer-column h4, .footer-column a, .footer-bottom p,
.review-text, .review-author, .review-stars,
.feature-benefits li,
.product-subtitle, .product-stats-hero, .stat-badge, .stat-label,
.section-subtitle, .feature-text, .use-case-card p, .spec-card h3,
.guide-card p, .related-product-card p, .downloads,
.comparison-table th, .comparison-table td {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

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

/* ===== Color Stripe ===== */
.color-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-green), var(--apple-orange), var(--apple-red));
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 60px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    color: var(--apple-dark-gray) !important;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-star {
    color: var(--apple-blue) !important;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--apple-dark-gray) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--apple-blue) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--apple-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--apple-dark-gray) !important;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--apple-light-gray);
}

/* ===== Mobile Navigation ===== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--apple-dark-gray);
    transition: all 0.3s;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--apple-white);
    z-index: 1000;
    transition: right 0.3s;
    overflow-y: auto;
}

.mobile-nav-links {
    list-style: none;
    padding: 80px 20px 20px;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-links a {
    display: block;
    padding: 16px 0;
    color: var(--apple-dark-gray);
    text-decoration: none;
    font-size: 1rem;
}

.mobile-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--apple-white) !important;
    padding: 140px 0 100px;
    min-height: auto;
    position: relative;
}

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

.hero-text {
    order: 1;
}

.hero-mockup {
    order: 2;
    display: flex;
    justify-content: center;
}

.hero-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
}

.hero-eyebrow {
    font-size: 1rem;
    color: var(--apple-gray) !important;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--apple-dark-gray) !important;
}

.highlight {
    color: var(--apple-blue); /* Fallback for iOS Safari */
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem !important;
    color: var(--apple-gray) !important;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-proof {
    font-size: 1rem;
    color: var(--apple-gray) !important;
    max-width: 500px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-stats-inline {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
}

.hero-stat .stat-value {
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-badge .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--apple-dark-gray) !important;
}

.stat-badge .stat-text,
.stat-badge .stat-label {
    font-size: 0.8rem;
    color: var(--apple-gray) !important;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--apple-blue) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-hero-primary:hover {
    background: var(--apple-blue-hover) !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent !important;
    color: var(--apple-blue) !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--apple-blue) !important;
    transition: background 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
    background: var(--apple-blue) !important;
    color: white !important;
}

.play-icon {
    width: 20px;
    height: 20px;
}

.hero-apps {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.app-icon-item {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

.app-icon-item:hover {
    transform: scale(1.1);
}

.app-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--apple-blue);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--apple-green);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--apple-orange);
    top: 50%;
    left: 10%;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--apple-purple);
    top: 30%;
    right: 20%;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: var(--apple-pink);
    bottom: 10%;
    right: 10%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--apple-gray);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--apple-gray);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== Quick Features Bar ===== */
.quick-features {
    background: var(--apple-light-gray) !important;
    padding: 40px 0;
}

.quick-features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.quick-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--apple-dark-gray) !important;
}

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

.feature-text {
    font-weight: 500;
}

/* ===== Page Header (Product Pages) ===== */
.page-header {
    background: var(--apple-white) !important;
    padding: 140px 0 100px;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-info {
    order: 1;
}

.product-mockup {
    order: 2;
    display: flex;
    justify-content: center;
}

.product-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--apple-dark-gray) !important;
}

.product-subtitle {
    font-size: 1.2rem !important;
    color: var(--apple-gray) !important;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.product-stats-hero {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-badge .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--apple-dark-gray) !important;
}

.stat-badge .stat-label {
    font-size: 0.8rem;
    color: var(--apple-gray) !important;
}

.product-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ===== Social Proof ===== */
.social-proof {
    background: var(--apple-white) !important;
    padding: 100px 0;
    text-align: center;
}

.social-proof-header h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--apple-dark-gray) !important;
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.social-stat {
    text-align: center;
}

.social-stat-value {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700;
    color: var(--apple-dark-gray) !important;
    line-height: 1.1;
    margin-bottom: 8px;
}

.social-stat-label {
    font-size: 1rem;
    color: var(--apple-gray) !important;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.review-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
}

.review-rating {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--apple-orange) !important;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--apple-orange) !important;
}

.review-text {
    font-size: 1rem;
    color: var(--apple-dark-gray) !important;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.review-author {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    font-weight: 500;
}

.reviews-link,
.reviews-cta {
    text-align: center;
}

.reviews-link a,
.reviews-cta a {
    color: var(--apple-blue) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.reviews-link a:hover,
.reviews-cta a:hover {
    text-decoration: underline;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--apple-white) !important;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--apple-dark-gray) !important;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--apple-gray) !important;
    max-width: 600px;
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--apple-blue) !important;
    margin-bottom: 12px;
}

.section-header-showcase {
    margin-bottom: 40px;
}

.products-grid-full {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.products-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.products-spotlight-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.products-spotlight-bar span {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
}

.product-card-enhanced {
    background: var(--apple-light-gray) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    text-decoration: none;
    color: var(--apple-dark-gray) !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
}

.product-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.product-card-content h3 {
    font-size: 1.3rem !important;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.product-card-content p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    padding: 4px 10px;
    background: var(--apple-white) !important;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--apple-gray) !important;
}

.product-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--apple-gray) !important;
}

.product-stats strong {
    color: var(--apple-dark-gray) !important;
    font-weight: 600;
}

.product-card-cta {
    margin-top: auto;
}

.btn-card {
    color: var(--apple-blue) !important;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Features Section ===== */
.features-section,
.content-section {
    background: var(--apple-white) !important;
    padding: 100px 0;
}

.features-section.dark,
.content-section.dark {
    background: var(--apple-light-gray) !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--apple-gray) !important;
    text-align: center;
    margin-bottom: 48px;
}

.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card-large {
    background: var(--apple-light-gray) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s;
}

.feature-card-large:hover {
    transform: translateY(-2px);
}

.feature-icon-large {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card-large h3 {
    font-size: 1.3rem !important;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.feature-card-large p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
    margin-bottom: 12px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
}

.feature-benefits li {
    font-size: 0.85rem;
    color: var(--apple-gray) !important;
    padding: 4px 0;
}

.feature-benefits li::before {
    content: '✓';
    color: var(--apple-green) !important;
    margin-right: 8px;
    font-weight: 600;
}

/* ===== Use Cases ===== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--apple-white) !important;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.use-case-card:hover {
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
}

/* ===== Specs ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.spec-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
}

.spec-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--apple-dark-gray) !important;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 8px 0;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: var(--apple-gray) !important;
}

.specs-table td:last-child {
    color: var(--apple-dark-gray) !important;
    font-weight: 500;
    text-align: right;
}

/* ===== Guides ===== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: var(--apple-dark-gray) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
}

.guide-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.guide-card p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
    margin-bottom: 12px;
}

.learn-more {
    font-size: 0.9rem;
    color: var(--apple-blue) !important;
    font-weight: 600;
}

/* ===== Related Products ===== */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-product-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--apple-dark-gray) !important;
    transition: transform 0.2s;
}

.related-product-card:hover {
    transform: translateY(-2px);
}

.related-product-card img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.related-product-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--apple-dark-gray) !important;
}

.related-product-card p {
    font-size: 0.85rem;
    color: var(--apple-gray) !important;
    margin-bottom: 8px;
}

.downloads {
    font-size: 0.8rem;
    color: var(--apple-gray) !important;
}

/* ===== Screenshots Carousel ===== */
.screenshot-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--apple-light-gray) !important;
    padding: 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.carousel-slide img {
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--apple-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--apple-dark-gray) !important;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--apple-light-gray) !important;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apple-gray) !important;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: var(--apple-dark-gray) !important;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--apple-white) !important;
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

.testimonial-rating {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--apple-orange) !important;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--apple-dark-gray) !important;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--apple-gray) !important;
}

/* ===== Blog Section ===== */
.blog-preview-section {
    background: var(--apple-light-gray) !important;
    padding: 100px 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-preview-card {
    background: var(--apple-white) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--apple-dark-gray) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
}

.blog-preview-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-preview-content {
    padding: 20px;
}

.blog-preview-content h3 {
    font-size: 1.1rem !important;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.blog-preview-content p {
    font-size: 0.85rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
    margin-bottom: 8px;
}

.blog-preview-date {
    font-size: 0.75rem;
    color: var(--apple-gray) !important;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--apple-white) !important;
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1.1rem !important;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--apple-dark-gray) !important;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
}

.faq-item p a {
    color: var(--apple-blue) !important;
    text-decoration: none;
}

.faq-item p a:hover {
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== FAQ Page Specific ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-question {
    background: var(--apple-light-gray) !important;
    border-radius: 12px;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.06) !important;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--apple-gray) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Help Page Specific ===== */
.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.help-card {
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.help-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.help-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--apple-dark-gray) !important;
}

.help-card p {
    font-size: 0.9rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
}

/* ===== Uninstall Page Specific ===== */
.uninstall-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.uninstall-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--apple-light-gray) !important;
    border-radius: 16px;
    padding: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--apple-blue) !important;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--apple-dark-gray) !important;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--apple-gray) !important;
    line-height: 1.6;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
    background: var(--apple-dark-gray) !important;
    padding: 100px 0;
    text-align: center;
}

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

.bottom-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--apple-white) !important;
}

.bottom-cta .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--apple-blue) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none !important;
    transition: background 0.2s;
    margin-bottom: 24px;
}

.bottom-cta .btn-download:hover {
    background: var(--apple-blue-hover) !important;
}

.bottom-cta-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

/* ===== Comparison Table ===== */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: var(--apple-white) !important;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--apple-light-gray) !important;
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
}

.comparison-table th.highlight {
    background: var(--apple-blue) !important;
    color: white !important;
}

.comparison-table td.highlight {
    background: rgba(0, 102, 204, 0.05) !important;
}

.check {
    color: var(--apple-green) !important;
    font-weight: 600;
}

.cross {
    color: var(--apple-red) !important;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--apple-light-gray) !important;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand p {
    color: var(--apple-gray) !important;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--apple-gray) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--apple-dark-gray) !important;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--apple-dark-gray) !important;
    margin-bottom: 4px;
}

.footer-column a {
    color: var(--apple-gray) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--apple-dark-gray) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.footer-bottom p {
    color: var(--apple-gray) !important;
    font-size: 0.75rem;
}

/* ===== Buttons ===== */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--apple-blue) !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--apple-blue) !important;
    transition: background 0.2s, color 0.2s;
}

.btn-download:hover {
    background: var(--apple-blue) !important;
    color: white !important;
}

.btn-download.primary {
    background: var(--apple-blue) !important;
    color: white !important;
    border: none !important;
}

.btn-download.primary:hover {
    background: var(--apple-blue-hover) !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-mockup {
        order: -1;
    }

    .hero-stats,
    .hero-stats-inline {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-apps {
        justify-content: center;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product-mockup {
        order: -1;
    }

    .product-stats-hero {
        justify-content: center;
    }

    .product-actions {
        justify-content: center;
    }

    .products-row {
        grid-template-columns: 1fr;
    }

    .features-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

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

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .hero-title,
    .product-info h1 {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }

    .quick-features-grid {
        gap: 20px;
    }

    .social-proof-stats {
        gap: 40px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid,
    .guides-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid,
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex-direction: column;
        align-items: center;
    }

    .carousel-slide img {
        max-height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--apple-blue) !important;
    z-index: 9999;
    transition: width 0.1s ease;
}
