/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Red/Orange Professional Theme */
    --bg-body: #ffffff;
    --bg-alt: #fff1f2;
    /* Rose 50 */
    --primary: #dc2626;
    /* Red 600 */
    --secondary: #f97316;
    /* Orange 500 */
    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #475569;
    /* Slate 600 */
    --border-light: #e2e8f0;
    /* Slate 200 */

    /* Brand Gradients */
    --gradient-brand: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    --gradient-surface: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px -3px rgba(220, 38, 38, 0.15);
    /* Red tinted shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    /* Modern, friendly font */
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: #fff1f2;
    color: var(--primary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 180px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #fff1f2 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(closest-side, rgba(220, 38, 38, 0.08), transparent);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-mockup {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: translateY(-10px);
}

.hero-mockup img {
    max-width: 100%;
    width: 640px;
    /* Doubled size from 320px */
    border-radius: 40px;
    /* iPhone rounded corners */
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.2);
    border: 8px solid #ffffff;
}

/* Restored Logo Text Styles */
.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

/* Features */
.features {
    padding: 60px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    text-align: center;
    /* Clean centered layout */
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fff1f2;
    /* Light red/rose */
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Article Section (SEO) */
.article-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.article-content {
    max-width: 1000px;
    /* Increased from 800px */
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.article-content h2,
.article-content h3 {
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content p,
.article-content li {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.article-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
    background: white;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
    /* Arbitrary large height */
}

/* Footer */
footer {
    background: #ffffff;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--text-main);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: 0.3s ease-in-out;
        z-index: -1;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        padding: 0 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Mobile Responsive Table */
    .table-container table,
    .table-container thead,
    .table-container tbody,
    .table-container th,
    .table-container td,
    .table-container tr {
        display: block;
    }

    .table-container thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-container tr {
        margin-bottom: 1rem;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        padding: 1rem;
        background: #fff;
    }

    .table-container td {
        border: none;
        position: relative;
        padding-left: 50%;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        text-align: right;
    }

    .table-container td:before {
        position: absolute;
        top: 0.5rem;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--text-muted);
        content: attr(data-label);
    }

    /* Ensure download button is visible and full width on mobile card */
    .table-container td:last-child {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        margin-top: 10px;
    }

    .table-container td:last-child:before {
        display: none;
    }

    .table-container .btn {
        width: 100%;
        justify-content: center;
    }

    /* Fix Download Button Text on Mobile */
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        white-space: nowrap;
        font-size: 0.95rem;
        /* Slightly smaller font to fit one line */
        padding: 14px 20px;
    }

    /* Reduce spacing on mobile */
    .hero {
        padding-bottom: 40px;
    }

    .features {
        padding-top: 40px;
    }
}

/* Simple Footer */
.footer-simple {
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-simple p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-simple-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-simple-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-simple-links a:hover {
    color: var(--primary);
}