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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px; /* Rounded corners for logo */
    object-fit: cover;
    border: 2px solid #0099B3;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0099B3;
    background: linear-gradient(90deg, #0099B3, #007A8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0099B3;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: transform 0.3s ease;
    position: relative;
}

/* Mobile Close Button - Hidden by default */
.mobile-close-btn {
    display: none;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #0099B3;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Removed hamburger to X transformation - keeping only the mobile close button */

/* Hide hamburger menu when active (menu is open) */
.hamburger-menu.active {
    display: none;
}

/* iOS-Style Language Toggle Switch */
.lang-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #6b7280;
    transition: color 0.3s ease;
    user-select: none;
}

.lang-label.active {
    color: #0099B3;
}

.lang-toggle-switch {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
    cursor: pointer;
}

.lang-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    border-radius: 31px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-slider:before {
    position: absolute;
    content: "";
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-toggle-switch input:checked + .lang-slider {
    background: linear-gradient(135deg, #0099B3, #007A8F);
}

.lang-toggle-switch input:checked + .lang-slider:before {
    transform: translateX(20px);
}

.lang-toggle-switch:hover .lang-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(0, 153, 179, 0.1);
}

.lang-toggle-switch input:checked:hover + .lang-slider {
    background: linear-gradient(135deg, #00b3d1, #0099B3);
}

.lang-toggle-switch:active .lang-slider:before {
    width: 30px;
}

/* Hero Section */
.hero {
    padding: 80px 0 40px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

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

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

.hero-secondary-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-secondary-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* App Icon with Rounded Corners */
.app-icon-container {
    display: flex;
    justify-content: center;
}

.app-icon {
    width: 180px;
    height: 180px;
    border-radius: 35px; /* Rounded corners for app icon */
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 153, 179, 0.2);
    border: 5px solid white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 153, 179, 0.3);
}

/* App Store Badge */
.download-badge {
    display: flex;
    justify-content: center;
}

.appstore-link {
    display: inline-block;
    transition: transform 0.3s;
}

.appstore-link:hover {
    transform: scale(1.05);
}

.appstore-badge {
    width: 180px;
    height: auto;
}

/* Hero Features - Bullet List */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #374151;
    font-weight: 500;
}

.hero-features i {
    color: #0099B3;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0099B3, #007A8F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0099B3, #007A8F);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: white;
}

.blog-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: -30px auto 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #0099B3;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: #0099B3;
}

.blog-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    color: #0099B3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-link:hover {
    color: #007A8F;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

.blog-view-all {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #0099B3, #007A8F);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 179, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.4;
}

.faq-question:hover {
    background-color: #f8f9fa;
    color: #0099B3;
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1rem;
    color: #0099B3;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #6b7280;
    line-height: 1.8;
    font-size: 1.05rem;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0099B3, #007A8F);
    color: white;
    border-radius: 24px;
    margin: 40px 0;
}

.download-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.download-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.download-badge-large {
    display: flex;
    justify-content: center;
}

.download-section .appstore-badge {
    width: 200px;
    height: auto;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 50px 0 30px;
    margin-top: 80px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px; /* Rounded corners for footer icon */
    object-fit: cover;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #374151;
    width: 100%;
}

.footer-copyright p {
    color: #9ca3af;
}

/* Image Features Section with iPhone Mock Borders */
.image-features {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.image-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.image-feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.iphone-mock {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 25px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 18px 15px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #333,
        inset 0 0 0 4px #1a1a1a;
}

/* Notch removed as requested - simplified bezel only */

.iphone-screen {
    position: relative;
    width: 100%;
    padding-bottom: 217.27%; /* Exact image aspect ratio (1320x2868) */
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    z-index: 1;
}

.iphone-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
    background-color: #000;
}

.image-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.image-feature-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar {
        justify-content: space-between;
    }
    
    .logo {
        position: relative;
        z-index: 1002;
    }
    
    .hamburger-menu {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 20px 30px 30px;
        gap: 25px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #0099B3;
        cursor: pointer;
        padding: 8px;
        z-index: 1002;
        transition: transform 0.3s ease;
    }
    
    .mobile-close-btn:hover {
        transform: rotate(90deg);
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        margin-top: 40px;
    }
    
    .nav-links a:first-of-type {
        margin-top: 40px;
    }
    
    .lang-toggle-container {
        padding: 20px 0;
        border-top: 2px solid #f0f0f0;
        margin-top: 10px;
        justify-content: center;
    }
    
    /* Mobile Menu Overlay - Removed to prevent covering the menu */
    .mobile-overlay {
        display: none;
    }
    
    .mobile-overlay.active {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-right {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .app-icon {
        width: 150px;
        height: 150px;
        border-radius: 30px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: center;
    }
    
    .hero-features li {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .image-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .iphone-mock {
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .image-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .iphone-mock {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .navbar {
        justify-content: space-between;
    }
    
    .app-icon {
        width: 120px;
        height: 120px;
        border-radius: 25px;
    }
    
    .appstore-badge {
        width: 150px;
    }
    
    .download-section .appstore-badge {
        width: 170px;
    }
}