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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: rgb(38, 38, 36);
    color: #fff;
    min-height: 100vh;
    position: relative;
}

/* Decorative Stars */
.stars-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    opacity: 0.3;
    filter: invert(48%) sepia(39%) saturate(1050%) hue-rotate(334deg) brightness(92%) contrast(85%);
}

.star-1 {
    top: 15%;
    left: 8%;
    width: 40px;
    height: 40px;
}

.star-2 {
    top: 25%;
    right: 12%;
    width: 30px;
    height: 30px;
}

.star-3 {
    top: 50%;
    left: 5%;
    width: 35px;
    height: 35px;
}

.star-4 {
    top: 45%;
    left: 18%;
    width: 25px;
    height: 25px;
}

.star-5 {
    top: 40%;
    right: 6%;
    width: 32px;
    height: 32px;
}

.star-6 {
    top: 80%;
    left: 15%;
    width: 28px;
    height: 28px;
}

.star-7 {
    top: 10%;
    right: 40%;
    width: 26px;
    height: 26px;
}

.star-8 {
    top: 60%;
    right: 18%;
    width: 38px;
    height: 38px;
}

.star-9 {
    top: 35%;
    left: 12%;
    width: 22px;
    height: 22px;
}

.star-10 {
    top: 90%;
    right: 25%;
    width: 30px;
    height: 30px;
}

.star-11 {
    top: 55%;
    right: 3%;
    width: 34px;
    height: 34px;
}

.star-12 {
    top: 75%;
    left: 8%;
    width: 27px;
    height: 27px;
}

.star-13 {
    top: 8%;
    left: 48%;
    width: 33px;
    height: 33px;
}

.star-14 {
    top: 8%;
    right: 35%;
    width: 24px;
    height: 24px;
}

.star-15 {
    top: 3%;
    left: 50%;
    width: 29px;
    height: 29px;
}

/* Menu View - Top Right */
.feature-tracking-section {
    position: relative;
}

.feature-tracking-section .menu-column {
    position: absolute;
    top: -260px;
    right: -80px;
    z-index: 100;
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-column .menu-view {
    width: auto;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* Page Content */
.page-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 80px 80px 80px;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid #c15f3c;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #c15f3c;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

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

.app-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.1;
}

.app-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0;
    line-height: 1.4;
}

/* Feature Sections */
.feature-section {
    margin-bottom: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.feature-tracking-section {
    margin-bottom: 0;
}

.feature-text {
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-description {
    font-size: 17px;
    line-height: 1.47;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.feature-description strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.feature-text .download-button {
    margin-top: 40px;
}

/* Widgets Section */
.widgets-section {
    /* Override grid from .feature-section */
    display: block;
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
}

.widgets-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.widget-text-column {
    vertical-align: middle;
    padding-left: 60px;
    width: 50%;
}

.widget-images-column {
    vertical-align: middle;
    padding-right: 60px;
    width: 50%;
}

.widgets-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    max-width: 100%;
}

.widget-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
    display: block;
    flex-shrink: 1;
}

/* Download Button */
.download-button {
    display: inline-block;
    padding: 16px 48px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.free-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Summary Section */
.summary-section {
    margin-top: 80px;
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.summary-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
}

.faq-main-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0;
    color: #fff;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
}

.faq-question {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0;
    line-height: 1.3;
}

.faq-answer {
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #c15f3c;
}

.heart-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    filter: invert(48%) sepia(39%) saturate(1050%) hue-rotate(334deg) brightness(92%) contrast(85%);
}

.linkedin-icon {
    width: 16px;
    height: 16px;
    filter: invert(100%) brightness(0.8);
    transition: filter 0.2s ease;
}

.footer-link:hover .linkedin-icon {
    filter: invert(48%) sepia(39%) saturate(1050%) hue-rotate(334deg) brightness(92%) contrast(85%);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .page-content {
        padding: 40px 60px 60px;
    }
}

@media (max-width: 1024px) {
    .page-content {
        padding: 40px 40px 60px;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 40px 24px 60px;
    }

    .hero {
        margin-bottom: 60px;
    }

    .feature-tracking-section {
        margin-bottom: 60px;
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .feature-text {
        align-items: center;
        order: 2;
    }

    .feature-tracking-section .menu-column {
        position: relative;
        top: -30px;
        right: auto;
        margin-bottom: -110px;
        margin-left: auto;
        margin-right: auto;
        order: 1;
    }

    .widgets-section {
        margin-top: 0;
        padding: 30px 20px;
    }

    .widgets-table {
        display: block;
    }

    .widgets-table tr,
    .widget-text-column,
    .widget-images-column {
        display: block;
        width: 100%;
        padding: 0;
    }

    .widget-images-column {
        margin-bottom: 40px;
    }

    .widgets-grid {
        justify-content: center;
    }

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

    .faq-item {
        padding: 20px;
    }

    .summary-section {
        padding: 40px 0;
    }

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

@media (max-width: 480px) {
    .page-content {
        padding: 30px 20px 50px;
    }

    .hero {
        margin-bottom: 40px;
    }

    .app-title {
        font-size: 36px;
    }

    .app-subtitle {
        font-size: 18px;
    }

    .feature-description {
        font-size: 16px;
    }

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

    .feature-text .download-button {
        margin-top: 30px;
    }

    .download-button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .menu-column .menu-view {
        max-width: 100%;
        width: 100%;
    }

    .widgets-section {
        padding: 24px 16px;
        margin-top: 0;
    }

    .widget-img {
        max-width: 150px;
    }

    .faq-main-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .faq-item {
        padding: 18px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 15px;
    }

    .summary-section {
        margin-top: 60px;
        padding: 30px 0;
        gap: 24px;
    }

    .summary-title {
        font-size: 24px;
    }

    .footer {
        margin-top: 40px;
    }

    .footer-text {
        font-size: 14px;
    }
}

/* Extra small screens (iPhone SE, etc) */
@media (max-width: 375px) {
    .page-content {
        padding: 24px 16px 40px;
    }

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

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

    .app-badge {
        font-size: 13px;
        padding: 5px 14px;
    }

    .feature-description {
        font-size: 15px;
    }

    .download-button {
        padding: 12px 24px;
        font-size: 15px;
    }

    .widget-img {
        max-width: 130px;
    }

    .widgets-section {
        padding: 20px 12px;
    }

    .widgets-grid {
        gap: 16px;
    }

    .faq-main-title {
        font-size: 26px;
    }

    .summary-title {
        font-size: 22px;
    }

    .faq-question {
        font-size: 17px;
    }

    .faq-answer {
        font-size: 14px;
    }
}
