/* Global Styles */
@font-face {
    font-family: 'SF Pro';
    src: url('https://cdn.jsdelivr.net/gh/sf-fonts/SF-Font-Pro/SF-Pro-Text-Regular.otf') format('opentype');
}

:root {
    --bg-color: #faf7f5;
    --text-color: #5c504d; /* Apple Brown */
    --header-color: #4b382e; /* Darker brown */
    --light-color: #ffffff;
    --shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 18px rgba(0, 0, 0, 0.2);
    --accordion-bg: #fff;
    --accordion-hover: #f1f1f1;
    --button-bg: #4b382e;
    --button-hover-bg: #d7ccc8;
    --input-border: #ccc;
}

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

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 15px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-links a {
    color: var(--light-color);
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    text-align: center;
    background: var(--header-color);
    color: var(--light-color);
    padding: 10px 10px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-logo {
    max-width: 100px;
    height: auto;
}

.hero h1 {
    font-size: 1.5em;
    margin: 0;
}

.hero p {
    font-size: 1em;
    margin: 0;
    line-height: 1.1;
}

.hero .description {
    font-size: 0.9em;
    margin-top: 10px;
}

/* Download Section */
.download-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-color);
}

.download-section a {
    display: block;
}

.download-section img {
    max-width: 200px;
    transition: transform 0.3s ease;
}

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

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 50px 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.feature img {
    max-width: 300px;
    flex-shrink: 0;
    height: auto;
    object-fit: contain;
}

.feature-text {
    flex: 1;
    text-align: left;
}

.feature h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--header-color);
}

.feature p {
    font-size: 1.1em;
}

/* Accordion Styles (FAQ) */
.accordion {
    background-color: var(--accordion-bg);
    color: var(--text-color);
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.accordion:hover {
    background-color: var(--accordion-hover);
}

.active, .accordion:hover {
    background-color: var(--accordion-hover);
}

.panel {
    padding: 0 15px;
    display: none;
    background-color: white;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.panel p {
    margin: 15px 0;
}

/* Support Form Styles */
.support-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.support-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.support-form input, 
.support-form textarea {
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.support-form button {
    width: 150px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-bg);
    color: var(--light-color);
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.support-form button:hover {
    background-color: var(--button-hover-bg);
    color: var(--header-color);
}

/* Footer Section */
.footer {
    background: var(--header-color);
    color: var(--light-color);
    text-align: center;
    padding: 20px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #d7ccc8;
}

/* Media Queries */
@media (max-width: 767px) {
    .feature {
        flex-direction: column;
    }

    .feature:nth-child(even) {
        flex-direction: column;
    }

    .hero-content {
        flex-direction: column;
    }
}
