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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #ffffff;
    font-size: 17px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

header {
    padding: 0px 0 10px 0;
    text-align: center;
}

.logo {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #1d1d1f;
    letter-spacing: -0.022em;
}

.app-icon {
    width: 64px;
    height: 64px;
}

.tagline {
    font-size: 21px;
    color: #424245;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.011em;
}

/* Navigation styles */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.nav-link {
    color: #424245;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #f5f5f7;
    color: #007aff;
}

.nav-link.active {
    color: #007aff;
    font-weight: 600;
}

.hero-section {
    padding: 0;
    margin: 40px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-visual {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-placeholder {
    width: 100%;
    background: #f5f5f7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-highlight {
    background: none;
    padding: 20px 0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.feature-highlight h3 {
    color: #1d1d1f;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.125;
}

.feature-highlight p {
    color: #424245;
    font-size: 19px;
    line-height: 1.4211;
    font-weight: 400;
    letter-spacing: 0.012em;
}

.demo-grid {
    text-align: center;
    margin: 0px 0;
    margin-top: 8px;
    width: 100%;
}

.keyboard-layout {
    display: inline-block;
    background: #eeeeee88;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    max-width: 100%;
}


.keyboard-row.bottom-row {
    margin-left: 0;
    gap: 4px;
    justify-content: center;
    margin-top: 12px;
}

.key {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #d2d2d7;
}

.key:hover {
    background: #f5f5f7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.key.modifier {
    background: #dedee4;
    font-size: 11px;
    font-weight: 500;
    color: #86868b;
}

.key.modifier.cmd.primary {
    background: #007aff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    font-weight: 600;
    border: 1px solid #007aff;
}

.key.space {
    width: 200px;
}

.key.shift {
    width: 55px;
}

.key.cmd {
    width: 50px;
}

.key.option {
    width: 50px;
}

.key.ctrl {
    width: 40px;
}

.key.app {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.key.app.orange {
    background: #ff9500;
}

.key.app.purple {
    background: #af52de;
}

.key.app.yellow {
    background: #ffcc00;
}

.key.app::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid #f5f5f7;
}

.keyboard-caption {
    color: #424245;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.command-key-highlight {
    color: #007aff;
    font-weight: 600;
}

.section-separator {
    display: flex;
    align-items: center;
    margin: 60px 0 40px 0;
    gap: 40px;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: #d2d2d7;
}

.separator-title {
    color: #1d1d1f;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.003em;
    white-space: nowrap;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.feature {
    background: none;
    padding: 0;
    transition: all 0.3s ease;
}

.feature h3 {
    color: #1d1d1f;
    margin-bottom: 16px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.167;
}

.feature-content {
    border-left: 2px solid #e6e6eb54;
    padding-left: 20px;
    margin-left: 2px;
}

.feature p {
    color: #424245;
    font-size: 17px;
    line-height: 1.4706;
    font-weight: 400;
    letter-spacing: 0.012em;
}

.full-width-img {
    width: 100%;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.text-center p {
    color: #424245;
    font-size: 19px;
    line-height: 1.4211;
    font-weight: 400;
    letter-spacing: 0.012em;
    max-width: 800px;
    margin: 0 auto;
}

em {
    color: #1b1916;
    background-color: #ffcc0088;
    padding: 1px 6px;
    font-style: normal;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 60px 0 40px 0;
    color: #424245;
    font-size: 15px;
    border-top: 1px solid #d2d2d7;
    margin-top: 80px;
}

footer p {
    margin-bottom: 8px;
}

footer small {
    color: #424245;
}

footer a {
    color: #007aff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Contact form styles */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
}

.contact-placeholder {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 30px;
    margin: 0px 0;
    text-align: center;
}

.contact-heading {
    color: #1d1d1f;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Privacy policy styles */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0;
}

.privacy-box {
    background: #f5f5f7;
    border-radius: 10px;
    padding: 20px;
    margin: 00px 0;
    text-align: center;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.privacy-heading {
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

    header {
        padding: 0px 0 10px 0;
    }

    .logo {
        font-size: 36px;
        gap: 16px;
    }

    .app-icon {
        width: 48px;
        height: 48px;
    }

    .tagline {
        font-size: 19px;
    }

    .hero-content {
        gap: 40px;
    }

    .feature-highlight h3 {
        font-size: 24px;
    }

    .feature-highlight p {
        font-size: 17px;
    }

}

/* For mobile phones */
@media (max-width: 480px) {

    .section-separator {
        margin: 40px 0 30px 0;
        gap: 20px;
    }

    .separator-title {
        font-size: 28px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px 0;
    }

    .feature h3 {
        font-size: 19px;
    }

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

    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    footer {
        padding: 40px 0 30px 0;
        margin-top: 60px;
    }
}


.container {
    max-width: 980px;
    width: 100%;
}

/* Spatial positioning image with overlay */
.spatial-container {
    position: relative;

    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.spatial-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* App selection overlays */
.app-overlay {
    position: absolute;
    border: 2px solid #ffcc00;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;

}

.app-overlay.active {
    opacity: 1;
}

/* Positions for eac/* Positions for each app based on the image layout */
#finder-overlay {
    top: 4.1%;
    left: 1.35%;
    width: 9%;
    height: 24%;
}

#textedit-overlay {
    top: 4.1%;
    left: 21%;
    width: 9%;
    height: 24%;
}

#passwords-overlay {
    top: 30.5%;
    left: 3.2%;
    width: 9%;
    height: 24%;
}

#sublime-overlay {
    top: 30.5%;
    left: 12.9%;
    width: 9%;
    height: 24%;
}

#firefox-overlay {
    top: 30.5%;
    left: 32.5%;
    width: 9%;
    height: 24%;
}

#vscode-overlay {
    top: 57%;
    left: 24.5%;
    width: 9%;
    height: 24%;
}

/* Keyboard layout */
.keyboard-container {
    text-align: center;
    margin: 0px auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.keyboard-layout {
    display: inline-block;
    background: #eeeeee;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    width: auto;
}

.keyboard-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    justify-content: center;
}

/* Use padding instead of negative margins for consistent scaling */
.keyboard-row:nth-child(1) {
    padding-right: 0;
}

.keyboard-row:nth-child(2) {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0;
}

.keyboard-row:nth-child(3) {
    padding-left: 20px;
    padding-right: 0;
    margin-left: 0;
}

.key {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #d2d2d7;
}

.key.app {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.key.app.white {
    color: black;
    background: #ffffff;
}

.key.app.orange {
    background: #ff9500;
}

.key.app.purple {
    background: #af52de;
}

.key.app.yellow {
    background: #ffcc00;
}

/* Active key animation */
.key.active {
    animation: keyPress 0.05s ease;
    background: #007aff !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

@keyframes keyPress {
    0% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.15) translateY(-2px);
    }

    100% {
        transform: scale(1.1) translateY(0);
    }
}

.info {
    text-align: center;
    color: #424245;
    font-size: 17px;
    margin-top: 20px;
}

.current-key {
    color: #007aff;
    font-weight: 600;
    font-size: 24px;
}
