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

:root {
    --accent-button: #5a6270;
    --accent-button-hover: #697382;
    --accent-link: #c7cfdb;
    --accent-link-hover: #e0e5ed;
    --accent-soft: rgba(199, 207, 219, 0.22);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg-white: #000000;
    --bg-gray: #1d1d1f;
    --bg-black: #000000;
    --nav-height: 48px;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-black);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(29, 29, 31, 0.72);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: block;
}

.nav-cta {
    background: var(--accent-button);
    color: white;
    padding: 8px 16px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-button-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    background: var(--bg-black);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.07;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hero-tagline {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-primary {
    background: var(--accent-button);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-button-hover);
}

.btn-secondary {
    color: var(--accent-link);
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-secondary:hover {
    color: var(--accent-link-hover);
    text-decoration: underline;
}

/* The devices sit at fixed spots in a 1000 x 540 box: the Mac in back, the
   iPhone and iPad in front of its lower corners. Smaller screens scale the
   whole group (see "Responsive hero devices"). */
.hero-devices {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 540px;
    margin: 0 auto;
    transform-origin: top center;
}

.device-mockup {
    position: absolute;
    background: #1c1c1e;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
}

/* Mac Mockup */
.mockup-mac {
    width: 720px;
    height: 450px;
    left: calc(50% - 410px);
    top: 30px;
    border-radius: 20px;
    z-index: 1;
    background: #000;
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
}

.mockup-mac-screen {
    flex: 1;
    background: linear-gradient(180deg, #1e1e1e 0%, #0d0d0d 100%);
    margin: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* iPad Mockup */
.mockup-ipad {
    /* Landscape, to match the 4:3 iPad screenshots */
    width: 400px;
    height: 300px;
    border-radius: 24px;
    left: calc(50% + 90px);
    top: 210px;
    z-index: 2;
    background: #000;
    border: 3px solid #333;
}

.mockup-ipad-screen {
    background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
    height: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* iPhone Mockup */
.mockup-iphone {
    width: 180px;
    height: 380px;
    border-radius: 32px;
    left: calc(50% - 490px);
    top: 140px;
    z-index: 3;
    background: #000;
    border: 4px solid #444;
}

.mockup-iphone-notch {
    width: 60px;
    height: 18px;
    background: #000;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.mockup-mac-screen img,
.mockup-ipad-screen img,
.mockup-iphone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-iphone-screen {
    background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

/* Responsive hero devices: the group is 980px wide, so scale it to fit and
   pull up the space it no longer fills. `scale` leaves `translate` free for
   the scroll parallax in app.js. */
@media (max-width: 1100px) {
    .hero-devices {
        scale: 0.85;
        margin-bottom: -81px;
    }
}

@media (max-width: 900px) {
    .hero-devices {
        scale: 0.7;
        margin-bottom: -162px;
    }
}

@media (max-width: 700px) {
    .hero-devices {
        scale: 0.55;
        margin-bottom: -243px;
    }
}

@media (max-width: 540px) {
    .hero-devices {
        scale: 0.45;
        margin-bottom: -297px;
    }
}

@media (max-width: 400px) {
    .hero-devices {
        scale: 0.36;
        margin-bottom: -346px;
    }
}

.device-macbook {
    width: 500px;
    height: 320px;
    background: linear-gradient(145deg, #e8e8e8 0%, #d0d0d0 100%);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 0;
    display: none;
}

/* Platform Sections */
.section {
    padding: 100px 22px;
    text-align: center;
}

.section-white {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg-gray);
}

.section-black {
    background: var(--bg-black);
    color: white;
}

.section-black .section-subtitle {
    color: #a1a1a6;
}

.section-content {
    max-width: 1024px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.section-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 50px;
}

.section-link {
    color: var(--accent-link);
    text-decoration: none;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    color: var(--accent-link-hover);
    text-decoration: underline;
}

.section-link::after {
    content: '›';
    font-size: 20px;
}

.section-black .section-link {
    color: var(--accent-link);
}

/* Mock bookmark styles for showcases */
.mock-bookmark {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.mock-text {
    flex: 1;
}

.mock-title {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 4px;
    width: 80%;
}

.mock-url {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 60%;
}

/* Device showcase in sections */
.showcase-device {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.iphone-showcase {
    width: 260px;
    height: 520px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 0 auto;
    border-radius: 48px;
    padding: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.iphone-showcase-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
    border-radius: 36px;
    padding: 50px 20px 20px;
    position: relative;
    overflow: hidden;
}

.iphone-showcase-screen::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #1a1a1a;
    border-radius: 20px;
}

.ipad-showcase {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 0 auto;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.ipad-showcase-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
    border-radius: 8px;
    display: flex;
}

.ipad-sidebar {
    width: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 0 0 8px;
    padding: 20px;
}

.ipad-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.ipad-sidebar-item.active {
    background: var(--accent-soft);
}

.ipad-sidebar-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--accent-button);
}

.ipad-sidebar-text {
    height: 12px;
    width: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ipad-content {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: start;
}

.ipad-bookmark {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ipad-bookmark-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.ipad-bookmark-title {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 6px;
}

.ipad-bookmark-url {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 70%;
}

.mac-showcase {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.mac-screen {
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    padding: 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
}

.mac-titlebar {
    height: 32px;
    background: linear-gradient(180deg, #3d3d3d 0%, #323232 100%);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-btn-close {
    background: #ff5f57;
}

.mac-btn-min {
    background: #ffbd2e;
}

.mac-btn-max {
    background: #28c840;
}

.mac-content {
    display: flex;
    height: calc(100% - 32px);
}

.mac-sidebar {
    width: 200px;
    background: rgba(45, 45, 45, 0.9);
    padding: 16px;
}

.mac-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 2px;
}

.mac-sidebar-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.mac-sidebar-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: var(--accent-button);
}

.mac-sidebar-text {
    height: 10px;
    width: 70px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.mac-main {
    flex: 1;
    background: #1a1a1a;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-content: start;
}

.mac-bookmark {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.mac-bookmark-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.mac-bookmark-title {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: 4px;
}

.mac-bookmark-url {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    width: 60%;
}

.mac-stand {
    width: 180px;
    height: 60px;
    background: linear-gradient(180deg, #d4d4d4 0%, #a8a8a8 100%);
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
    position: relative;
}

.mac-stand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 8px;
    background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
    border-radius: 0 0 4px 4px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.feature-card {
    background: transparent;
    border: none;
    text-align: center;
    padding: 0;
}

.feature-card:hover {
    transform: none;
}

.feature-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder style for feature images */
.feature-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.feature-image-placeholder svg {
    opacity: 0.5;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.3;
    /* reserve two lines so descriptions stay aligned across a grid row */
    min-height: 2.6em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 50px auto 0;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pricing-price {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.pricing-period {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: #28c840;
    font-weight: 600;
}

.pricing-cta {
    display: block;
    text-align: center;
    background: var(--accent-button);
    color: white;
    padding: 14px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    margin-top: 24px;
    transition: background 0.2s ease;
}

.pricing-cta:hover {
    background: var(--accent-button-hover);
}

.pricing-cta-outline {
    background: transparent;
    color: var(--accent-link);
    border: 1px solid var(--accent-link);
}

.pricing-cta-outline:hover {
    background: var(--accent-button);
    color: white;
}

/* Footer */
footer {
    background: var(--bg-gray);
    padding: 20px 22px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-cta {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-cta a {
    color: var(--accent-link);
    text-decoration: none;
}

.footer-cta a:hover {
    color: var(--accent-link-hover);
    text-decoration: underline;
}

.footer-links {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.faq-list {
    max-width: 760px;
    margin: 32px auto 0;
    display: grid;
    gap: 12px;
}

.faq-link {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.faq-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* Device Screenshot Slideshow */
.device-slideshow {
    position: relative;
    width: 100%;
    /* 260px iPhone frame plus the 70px arrow gutters on each side */
    max-width: 400px;
    margin: 0 auto;
    padding: 0 70px;
    overflow: visible;
}

.device-slideshow.ipad-slideshow {
    max-width: 840px;
    padding: 0 80px;
}

.device-slideshow.mac-slideshow {
    max-width: 960px;
    padding: 0 90px;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.slideshow-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slideshow-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Device frames for screenshots */
.screenshot-frame-iphone {
    width: 100%;
    max-width: 260px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 48px;
    padding: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.screenshot-frame-iphone-inner {
    background: #1c1c1e;
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    position: relative;
}

.screenshot-frame-iphone-inner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 16px;
    z-index: 10;
}

.screenshot-frame-ipad {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.screenshot-frame-ipad-inner {
    background: #1c1c1e;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.screenshot-frame-mac {
    width: 100%;
    max-width: 800px;
}

.screenshot-frame-mac-screen {
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    border: 2px solid #3a3a3a;
}

.screenshot-frame-mac-screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 48px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23ff5f56'/%3E%3Ccircle cx='22' cy='6' r='5' fill='%23ffbd2e'/%3E%3Ccircle cx='38' cy='6' r='5' fill='%2327c93f'/%3E%3C/svg%3E");
    z-index: 10;
}

.screenshot-frame-mac-stand {
    width: 180px;
    height: 50px;
    background: linear-gradient(180deg, #d4d4d4 0%, #a8a8a8 100%);
    margin: 0 auto;
    border-radius: 0 0 4px 4px;
    position: relative;
}

/* Screenshot placeholder */
.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    gap: 12px;
}

.screenshot-placeholder svg {
    opacity: 0.4;
}

.screenshot-placeholder span {
    font-size: 12px;
    opacity: 0.5;
}

/* Real screenshots inside the device frames */
.screenshot-frame-mac-screen img,
.screenshot-frame-ipad-inner img,
.screenshot-frame-iphone-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A real Mac window brings its own traffic lights */
.screenshot-frame-mac-screen.has-screenshot::before {
    display: none;
}

.slide-caption {
    margin-top: 20px;
    padding: 0 24px;
    font-size: 17px;
    text-align: center;
    color: var(--text-secondary);
}

.section-black .slide-caption {
    color: #a1a1a6;
}

/* The slideshow clips the frame's shadow at its edges. On black sections that
   doesn't show; on the gray one it leaves a darker box, so drop it there. */
.section-gray .screenshot-frame-ipad {
    box-shadow: none;
}

/* Slideshow navigation dots */
.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: var(--accent-link);
    width: 24px;
    border-radius: 4px;
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slideshow-dot.active:hover {
    background: var(--accent-link-hover);
}

/* Slideshow navigation arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
}

.slideshow-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slideshow-arrow-left {
    left: 10px;
}

.slideshow-arrow-right {
    right: 10px;
}

.slideshow-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive arrows */
@media (max-width: 1100px) {
    .device-slideshow {
        padding: 0 60px;
    }

    .device-slideshow.ipad-slideshow {
        padding: 0 70px;
    }

    .device-slideshow.mac-slideshow {
        padding: 0 75px;
    }

    .slideshow-arrow {
        width: 40px;
        height: 40px;
    }

    .slideshow-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 900px) {
    .device-slideshow {
        padding: 0 50px;
    }

    .device-slideshow.ipad-slideshow {
        padding: 0 55px;
    }

    .device-slideshow.mac-slideshow {
        padding: 0 60px;
    }

    .slideshow-arrow {
        width: 36px;
        height: 36px;
    }

    .slideshow-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .device-slideshow {
        padding: 0 40px;
    }

    .device-slideshow.ipad-slideshow,
    .device-slideshow.mac-slideshow {
        padding: 0 45px;
    }

    .slideshow-arrow {
        width: 32px;
        height: 32px;
    }

    .slideshow-arrow svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .device-slideshow {
        padding: 0;
    }

    .device-slideshow.ipad-slideshow,
    .device-slideshow.mac-slideshow {
        padding: 0;
    }

    .slideshow-arrow {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-tagline {
        font-size: 21px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

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

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

    .device-iphone {
        width: 150px;
        height: 300px;
    }
}

/* Animations - GPU accelerated */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Remove will-change after animation */
.fade-in.animated {
    will-change: auto;
}

/* Icon sprite: holds <symbol> definitions only, never rendered directly */
.icon-sprite {
    display: none;
}

/* Feature card icons */
.feature-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--accent-link);
}

.features-note {
    margin-top: 48px;
    font-size: 17px;
    text-align: center;
    color: var(--text-secondary);
}

.feature-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Browser support strip */
.section-compact {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-strip-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.browser-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.browser-chip {
    font-size: 15px;
    line-height: 1;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 10px 18px;
}

.browser-note {
    margin-top: 26px;
    font-size: 15px;
    color: var(--text-secondary);
}

.browser-note a {
    color: var(--accent-link);
    text-decoration: none;
}

.browser-note a:hover {
    color: var(--accent-link-hover);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .section-strip-title {
        font-size: 21px;
    }

    .browser-chip {
        font-size: 14px;
        padding: 9px 15px;
    }
}
