@import url('https://fonts.googleapis.com/css2?family=K2D:wght@700;800&family=Montserrat:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --bg-color: #0a0a0a;
    --surface-color: #121212;
    --text-primary: #f8f8f5;
    --text-secondary: #a0a0a0;
    --accent-white: #ffffff;
    --glass-bg: rgba(10, 10, 10, 0.8);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    background: transparent;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: 100%;
    margin: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .logo-icon {
        width: 32px;
        height: 32px;
    }
}

.logo-text {
    font-family: 'K2D', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.3rem;
    }
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-white);
}

/* --- Dropdown Menu --- */
.menu-container { position: relative; }

.menu-trigger {
    background: none;
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-trigger:hover { background: rgba(255,255,255,0.1); }

.dropdown-content {
    position: absolute;
    right: 0;
    top: 55px;
    background: #1a1a1a;
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid #333;
    display: none;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    overflow: hidden;
}

.dropdown-content.show { display: flex; animation: slideDown 0.3s ease-out; }

.dropdown-content a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: 0.2s;
}

.dropdown-content a:hover { background: #252525; color: white; }

/* The Highlighted Button */
.dropdown-content a.download-highlight {
    background: var(--text-primary);
    color: #000;
    font-weight: 800;
    margin-top: 5px;
    text-align: center;
}

.dropdown-content a.download-highlight:hover { background: #fff; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Main Content --- */
main {
    padding-top: 80px;
}

/* --- Hero Section --- */
.hero {
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.4) 100%),
        url('../assets/images/sfwebbg.png') right center / contain no-repeat,
        #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 5%;
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 5%;
        min-height: auto;
        background: 
            linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.4) 100%),
            url('../assets/images/sfwebbg.png') right center / cover no-repeat,
            #000000;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
        min-height: auto;
    }
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 45%;
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
        max-width: 55%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }
}

.hero-text .accent {
    color: var(--accent-white);
    font-weight: 800;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 768px) {
    .description {
        font-size: 0.8rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
}

.download-buttons {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .download-buttons {
        justify-content: center;
    }
    .btn.appstore {
        width: 180px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .btn.appstore {
        width: 140px;
        height: 35px;
    }
}


.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn.appstore {
    background: none;
    border: none;
    padding: 0;
    width: 260px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
}

.btn.appstore img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn.appstore:hover {
    opacity: 0.8;
    transform: scale(1.05);
}





.features {
    background: var(--bg-color);
}

.feature-item {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .feature-item {
        gap: 40px;
        padding: 80px 5%;
    }
}

@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        gap: 25px;
        padding: 50px 5%;
        align-items: stretch;
    }
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item-reversed {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .feature-item-reversed {
        flex-direction: column;
    }
}

.feature-content {
    flex: 1;
}

@media (max-width: 768px) {
    .feature-content {
        width: 100%;
    }
}

.feature-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .feature-content h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .feature-content h3 {
        font-size: 1.2rem;
    }
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .feature-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

.feature-visual {
    flex: 1;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .feature-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .feature-visual {
        height: 280px;
        width: 100%;
        order: -1;
    }
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.feature-item:hover .feature-visual {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Philosophy Quote Section --- */
.philosophy {
    padding: 150px 10%;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('image_dd9b03.jpg');
    background-size: cover;
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .philosophy {
        padding: 120px 5%;
    }
}

@media (max-width: 768px) {
    .philosophy {
        padding: 100px 5%;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .philosophy {
        padding: 80px 5%;
    }
}

.philosophy blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .philosophy blockquote {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .philosophy blockquote {
        font-size: 1.4rem;
    }
}

.philosophy p {
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Blog Page Styles --- */
.blog-header { padding: 150px 10% 50px; text-align: center; }

@media (max-width: 768px) {
    .blog-header {
        padding: 100px 5% 30px;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 80px 5% 20px;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }
}

.blog-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    transition: 0.3s;
}

.blog-card:hover { transform: translateY(-10px); border-color: #333; }
.blog-card .card-content { padding: 30px; }
.blog-card span { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; }
.blog-card h3 { margin: 10px 0; font-size: 1.3rem; color: white; }

@media (max-width: 768px) {
    .blog-card h3 {
        font-size: 1.1rem;
    }
}

/* --- Global Footer (Consistent) --- */
.footer {
    padding: 80px 5% 40px;
    background: #050505;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 5% 30px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 5% 20px;
    }
}

.footer-links { margin-bottom: 25px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8rem;
    transition: 0.3s;
}

@media (max-width: 480px) {
    .footer-links a {
        display: block;
        margin: 8px 0;
    }
}

.footer-links a:hover { color: white; }
.footer p { font-size: 0.75rem; color: #444; margin-top: 20px; }

/* --- Animations --- */
.fade-in { animation: fadeIn 1.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Page Container Styles --- */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 150px 5% 100px;
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    .page-container {
        padding: 120px 5% 80px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 100px 5% 60px;
    }
}

.page-container h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .page-container h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-container h1 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}

.page-content {
    line-height: 1.8;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .page-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.page-content section {
    margin-bottom: 40px;
}

.page-content h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.page-content ul {
    margin-left: 20px;
    list-style-type: none;
}

.page-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.page-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}




