/* Cyclz - Apple-style light theme with pink accent */

:root {
    --white: #ffffff;
    --gray-100: #fdf5f7;          /* very pale pink - hero & alt sections */
    --gray-200: #f2e5ea;          /* border pink-tinted */
    --gray-500: #8e8e93;          /* iOS tertiary */
    --gray-600: #6e6e73;          /* iOS secondary (body text) */
    --gray-900: #1c1c1e;          /* iOS label primary */
    --pink: #d06b8b;              /* primary accent */
    --pink-hover: #e084a2;        /* accent hover */
    --pink-soft: #fce4ec;         /* soft pink background (cards, badges) */
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.85);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--gray-900);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: var(--pink);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 48px;
    background: var(--bg-nav);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.01em;
    z-index: 10001;
}

.nav-logo:hover {
    text-decoration: none;
    opacity: 0.8;
}

.nav-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

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

.nav-links a {
    color: var(--gray-900);
    font-size: 12px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-links a.active {
    opacity: 1;
    color: var(--pink);
}

.nav-cta {
    background: var(--pink) !important;
    color: var(--white) !important;
    padding: 8px 16px !important;
    border-radius: 980px;
    opacity: 1 !important;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: var(--pink-hover) !important;
}

.nav-toggle {
    display: none;
    width: 20px;
    height: 20px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--gray-900);
    border-radius: 1px;
}

/* Hero */
.hero {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--gray-100);
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.07143;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.hero p {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.381;
    color: var(--gray-600);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: opacity 0.3s;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.app-store-badge img {
    display: block;
    height: 54px;
    width: auto;
}

/* Screenshots Row */
.screenshots-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 0 40px;
    margin: 0 -22px;
}

.screenshots-wrapper::-webkit-scrollbar {
    display: none;
}

.screenshots-row {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0 22px;
    margin: 0 auto;
}

.screenshot-phone {
    flex: 0 0 auto;
    width: 180px;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(208, 107, 139, 0.15);
    transition: transform 0.3s ease;
}

.screenshot-phone:hover {
    transform: translateY(-4px);
}

.screenshot-phone img {
    width: 100%;
    height: auto;
    aspect-ratio: 1320 / 2868;
    border-radius: 28px;
    display: block;
}

/* Features */
.features {
    padding: 100px 22px;
    background: var(--bg);
}

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

.section-title h2 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08349;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.section-title p {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.381;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 980px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    color: var(--pink);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.009em;
    line-height: 1.16667;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    line-height: 1.47059;
    color: var(--gray-600);
}

/* CTA */
.cta {
    padding: 100px 22px;
    text-align: center;
    background: var(--gray-100);
}

.cta h2 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08349;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.cta p {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.381;
    color: var(--gray-600);
    margin-bottom: 28px;
}

/* Footer */
.footer {
    padding: 40px 22px 20px;
    background: var(--gray-100);
    font-size: 12px;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-brand img {
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.footer-brand span {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.footer-description {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
}

.footer-section h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 12px;
    color: var(--gray-600);
}

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

.footer-bottom {
    max-width: 980px;
    margin: 16px auto 0;
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
}

/* Page Header */
.page-header {
    padding: 120px 22px 40px;
    text-align: center;
    background: var(--gray-100);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08349;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.page-header p {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.381;
    color: var(--gray-600);
}

/* Content */
.content {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 22px;
}

.content h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.125;
    color: var(--gray-900);
    margin: 60px 0 20px;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.009em;
    line-height: 1.16667;
    color: var(--gray-900);
    margin: 40px 0 14px;
}

.content p {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    line-height: 1.47059;
    color: var(--gray-600);
    margin-bottom: 17px;
}

.content a {
    color: var(--pink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content ul {
    margin: 17px 0;
    padding-left: 22px;
    color: var(--gray-600);
}

.content li {
    margin-bottom: 9px;
    line-height: 1.47059;
    font-size: 17px;
    letter-spacing: -0.022em;
}

/* FAQ / How-to details */
.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-of-type {
    border-top: 1px solid var(--gray-200);
}

.faq-item h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 14px;
    letter-spacing: 0.011em;
    line-height: 1.19048;
}

.faq-item p {
    margin: 0;
}

.faq-item ul {
    margin: 14px 0 0;
}

/* Contact Page */
.contact-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 22px 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(208, 107, 139, 0.08);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(208, 107, 139, 0.12);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--pink-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
}

.contact-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 16px;
}

.contact-link {
    font-size: 17px;
    font-weight: 400;
    color: var(--pink);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-response {
    text-align: center;
    padding: 24px;
    background: var(--gray-100);
    border-radius: 12px;
}

.contact-response p {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0;
}

/* Summary Box */
.summary-box {
    background: var(--pink-soft);
    border-radius: 18px;
    padding: 30px;
    margin-top: 60px;
    border-left: 4px solid var(--pink);
}

.summary-box h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--gray-900);
}

.summary-box p {
    margin: 0;
    color: var(--gray-900);
}

/* How-to page */
.howto-hero {
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--gray-100);
}

.howto-hero h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
    letter-spacing: -0.005em;
}

.howto-hero p {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.howto-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.howto-section-group {
    margin-bottom: 56px;
}

.howto-section-header {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pink);
    border-left: 3px solid var(--pink);
    padding-left: 12px;
    margin-bottom: 20px;
}

.howto-section-desc {
    font-size: 0.98rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-left: 15px;
}

.howto-details {
    border-bottom: 1px solid var(--gray-200);
}

.howto-details:last-child {
    border-bottom: none;
}

.howto-details summary {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 18px 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.howto-details summary::-webkit-details-marker {
    display: none;
}

.howto-details summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--pink);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}

.howto-details[open] summary::after {
    content: "\2212";
}

.howto-details summary:hover {
    color: var(--pink);
}

.howto-details-body {
    padding: 0 15px 22px;
    font-size: 0.96rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.howto-details-body p {
    margin-bottom: 12px;
}

.howto-details-body p:last-child {
    margin-bottom: 0;
}

.howto-details-body ul {
    margin: 8px 0 12px 20px;
}

.howto-details-body li {
    margin-bottom: 6px;
}

.howto-details-body strong {
    color: var(--gray-900);
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 22px 40px;
        gap: 0;
        display: none !important;
        z-index: 10000;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 24px;
        font-weight: 500;
        opacity: 1;
        color: var(--gray-900);
    }

    .nav-links a:hover {
        color: var(--pink);
    }

    .nav-links .nav-cta {
        margin-top: 20px;
        display: inline-block;
        padding: 14px 28px !important;
        font-size: 17px !important;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 22px 50px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: 0;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        margin-bottom: 40px;
    }

    .screenshot-phone {
        width: 160px;
        border-radius: 32px;
    }

    .screenshot-phone img {
        border-radius: 26px;
    }

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

    .section-title p {
        font-size: 17px;
    }

    .features {
        padding: 60px 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 20px 10px;
    }

    .feature-card h3 {
        font-size: 21px;
    }

    .cta {
        padding: 60px 22px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta p {
        font-size: 17px;
    }

    .footer {
        padding: 30px 22px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        text-align: left;
    }

    .footer-content > div:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-section {
        text-align: left;
    }

    .page-header {
        padding: 100px 22px 30px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 17px;
    }

    .content {
        padding: 50px 22px;
    }

    .content h2 {
        font-size: 26px;
        margin: 40px 0 16px;
    }

    .content h3 {
        font-size: 20px;
        margin: 30px 0 12px;
    }

    .faq-item h3 {
        font-size: 18px;
    }

    .contact-content {
        padding: 40px 22px 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .contact-card h3 {
        font-size: 19px;
    }

    .howto-hero {
        padding: 100px 20px 40px;
    }

    .howto-hero h1 {
        font-size: 1.9rem;
    }

    .howto-content {
        padding: 40px 20px 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

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

    .screenshot-phone {
        width: 140px;
        border-radius: 28px;
        padding: 6px;
    }

    .screenshot-phone img {
        border-radius: 24px;
    }

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

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