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

:root {
    --primary-color: #AF1428;
    --primary-light: #D91D37;
    --primary-dark: #8A1020;
    --secondary-color: #3C3B6E;
    --accent-color: #FFC72C;
    --success-color: #34C759;
    --warning-color: #E67E22;
    --error-color: #AF1428;
    --text-primary: #1C1C1E;
    --text-secondary: #6C6C70;
    --text-tertiary: #8E8E93;
    --background: #F2F2F7;
    --background-alt: #FFFFFF;
    --card-background: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.06);
    --glass-light: rgba(255, 255, 255, 0.95);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 26px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-bar {
    width: 28px;
    height: 4px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 350px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    height: 600px;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.preview-content {
    padding: 2rem 1.5rem;
}

.case-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.case-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.case-status.success {
    background: #d1fae5;
    color: #065f46;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Screenshots Gallery */
.screenshots-gallery {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

/* Screenshot Slider */
.screenshot-slider {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 60px;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: white;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screenshot-slide {
    min-width: 33.333%; /* Show 3 slides at once */
    padding: 0 10px;
    box-sizing: border-box;
}

.screenshot-slide img {
    width: 100%;
    max-width: 350px; /* Limit image width for better web display */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.screenshot-caption {
    padding: 1.5rem 1rem;
    text-align: center;
    background: white;
}

.screenshot-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.screenshot-caption p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--secondary-color);
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots .dot:hover {
    background: rgba(60, 59, 110, 0.5);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Responsive Slider */
@media (max-width: 1024px) {
    .screenshot-slide {
        min-width: 50%; /* Show 2 slides on tablets */
    }
}

@media (max-width: 768px) {
    .screenshot-slider {
        padding: 0 50px;
    }
    
    .screenshot-slide {
        min-width: 100%; /* Show 1 slide on mobile */
        padding: 0;
    }
    
    .screenshot-slide img {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .screenshot-caption h4 {
        font-size: 1.25rem;
    }
    
    .screenshot-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .screenshot-slider {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .screenshot-caption {
        padding: 1.5rem;
    }
    
    .screenshot-caption h4 {
        font-size: 1.1rem;
    }
    
    .screenshot-caption p {
        font-size: 0.95rem;
    }
}

/* Features Grid */
.features {
    background: var(--background-alt);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature-card.premium {
    background: linear-gradient(135deg, rgba(175, 20, 40, 0.03), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(175, 20, 40, 0.15);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1C1C1E;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(175, 20, 40, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1C1C1E;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-trial {
    font-size: 1.1rem;
    color: var(--success-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-alt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Tools Grid */
.tools {
    background: var(--background-alt);
}

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

.tool-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.tool-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Disclaimer Section */
.disclaimer {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.disclaimer-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.disclaimer-box h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.disclaimer-box p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.disclaimer-box a {
    color: var(--primary-color);
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Privacy Policy Styles */
.privacy-policy,
.about-section,
.contact-section {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Page Styles */
.faq-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.faq-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.faq-content {
    padding: 3rem 0;
}

.faq-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.faq-footer {
    background: var(--background-alt);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 3rem;
}

.faq-footer h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.faq-footer p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.faq-footer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.privacy-policy h1,
.about-section h1,
.contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-content h2,
.about-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.policy-content h3,
.about-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.policy-content p,
.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.policy-content ul,
.about-content ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
    line-height: 1.8;
}

.policy-content ul li,
.about-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.policy-content code {
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.important-notice {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.important-notice h3 {
    color: var(--warning-color);
    margin-top: 0;
}

.important-notice p,
.important-notice ul {
    color: var(--text-primary);
}

.policy-summary {
    background: #dbeafe;
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.policy-summary h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

.policy-summary ul li {
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    transition: background 0.3s;
}

.contact-link:hover {
    background: #e5e7eb;
}

.response-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.faq-section {
    margin-top: 4rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.important-contacts {
    background: #dbeafe;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.important-contacts h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.important-contacts ul {
    list-style: none;
    margin-left: 0;
}

.important-contacts ul li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.important-contacts a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .phone-mockup {
        max-width: 280px;
    }

    .phone-screen {
        height: 500px;
    }

    .hamburger {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 0 0 1rem 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    .nav-links.open {
        max-height: 400px;
        opacity: 1;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .tools-grid,
    .contact-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }
}
