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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
}

/* Header */
.header {
    background: #000;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: #ff0050;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff0050;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu a:hover {
    color: #ff0050;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: left;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
}

.info-table {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

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

.info-table th,
.info-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-table th {
    font-weight: bold;
    width: 40%;
}

.download-section {
    margin-top: 2rem;
}

.download-btn {
    display: inline-block;
    background: #ff0050;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,0,80,0.4);
}

.download-btn:hover {
    background: #ff3366;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,80,0.6);
}

.download-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

.download-section {
    text-align: center;
    margin-top: 2rem;
}

.download-section-inline {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.download-section-inline .download-btn {
    display: inline-block;
}

/* Fullscreen iOS Style Notification */
.floating-download {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

.floating-download.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.notification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    touch-action: pan-y; /* Allow vertical scrolling */
    /* Overlay doesn't prevent body scroll - handled in JS */
}

.ios-notification-fullscreen {
    position: relative;
    z-index: 10000;
    background: #f2f2f7;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 400px;
    width: 100%;
    animation: slideUpBounce 0.5s ease-out;
}

.ios-notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.notification-icon {
    width: 24px;
    height: 24px;
    fill: #ff0050;
    flex-shrink: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    flex: 1;
}

.ios-notification-body {
    padding: 24px 20px;
    background: #f2f2f7;
    text-align: center;
}

.notification-message {
    margin: 0;
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
}

.ios-notification-actions {
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.ios-btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: #007aff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.ios-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.ios-btn:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.ios-btn-download {
    color: #007aff;
}

@keyframes slideUpBounce {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px) scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-download {
        padding: 15px;
    }
    
    .ios-notification-fullscreen {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .notification-message {
        font-size: 0.95rem;
    }
    
    .ios-btn {
        padding: 14px 18px;
        font-size: 1rem;
    }
}

/* Prevent horizontal scroll */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

/* Images */
.section-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.features-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.features-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.screenshot-img:hover {
    transform: scale(1.05);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #555;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Feature Items */
.feature-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Key Features List */
.key-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    margin-top: 1.5rem;
}

.key-features-list li {
    padding: 0.75rem;
    background: #fff;
    border-left: 4px solid #ff0050;
    border-radius: 4px;
}

/* Steps List */
.steps-list {
    margin-left: 2rem;
    margin-top: 1rem;
}

.steps-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Tables */
.requirements-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.requirements-table th,
.requirements-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.requirements-table th {
    background: #f8f9fa;
    font-weight: bold;
    width: 40%;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pros,
.cons {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pros h3 {
    color: #28a745;
    margin-bottom: 1rem;
}

.cons h3 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.pros ul,
.cons ul {
    list-style: none;
    margin-left: 0;
}

.pros li,
.cons li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* FAQ */
.faq-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-links,
.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a,
.footer-legal a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #ff0050;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

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

    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .description {
        font-size: 1rem;
        text-align: center;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

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

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

    .pros-cons {
        grid-template-columns: 1fr;
    }

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

