@font-face {
    font-family: 'Indie Flower';
    src: url('fonts/IndieFlower-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Base styles */
:root {
    --primary-color: #604995; /* main */
    --primary-dark: #392171; /* mainDark */
    --primary-light-100: #D9CAFA; /* mainLight100 */
    --primary-light-200: #CDB8FB; /* mainLight200 */
    --secondary-color: #ACACAC; /* secondary */
    --secondary-dark: #333333; /* secondaryDark */
    --secondary-light-100: #EDEDED; /* secondaryLight100 */
    --secondary-light-200: #F6F6F6; /* secondaryLight200 */
    --error-color: #E35151; /* error */
    --success-color: #4CAF50; /* success */
    --white: #FFFFFF; /* white */
    --dark-color: #333333; /* secondaryDark */
    --light-color: #F6F6F6; /* secondaryLight200 */
    --gray-color: #ACACAC; /* secondary */
    --border-color: #EDEDED; /* secondaryLight100 */
    --shadow: 0 4px 6px -1px rgba(57, 33, 113, 0.1), 0 2px 4px -1px rgba(57, 33, 113, 0.06);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.brand-name {
    font-family: 'Indie Flower', cursive;
    font-weight: 400;
}

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

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

.logo-img, .inline-logo {
    width: 40px;
    height: auto;
}

.inline-logo {
    width: 28px;
    vertical-align: middle;
    margin-right: 0.25rem;
    filter: invert(32%) sepia(19%) saturate(1654%) hue-rotate(224deg) brightness(92%) contrast(88%);
}

/* Header logo - darker violet */
header .logo-img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(29%) saturate(2217%) hue-rotate(242deg) brightness(94%) contrast(88%);
    opacity: 1;
}

/* Footer logo - white */
footer .logo-img {
    filter: brightness(0) invert(1);
}

.logo-title {
    display: inline-flex;
    align-items: center;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background: url('images/hero_warm_low.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(96, 73, 149, 0.75); /* var(--primary-color) with opacity */
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
    padding-top: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 70%;
    border-radius: 12px;
    box-shadow: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero .btn-primary {
    background-color: var(--secondary-light-200); /* Lighter gray background */
    color: var(--primary-dark); /* Dark violet text */
    border: none;
    border-radius: 16px; /* Increased corner radius */
}

.hero .btn-primary:hover {
    background-color: white; /* Even lighter on hover */
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.cta-buttons, .download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin-right: 0;
}

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

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

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

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(96, 73, 149, 0.1); /* main with opacity */
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-color);
}

/* Security Section */
.security {
    padding: 5rem 0;
    background: url('images/hero_security_low.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(96, 73, 149, 0.75); /* var(--primary-color) with opacity */
    z-index: 1;
}

.security .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.security-content {
    flex: 1;
}

.security-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.security-content p {
    color: var(--white);
    margin-bottom: 2rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0;
    color: var(--white);
}

.security-features li i {
    color: var(--white);
}

.security-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.security-image img {
    width: 70%;
    border-radius: 12px;
    box-shadow: none;
}

/* Download Section */
.download {
    padding: 5rem 0;
    text-align: center;
    background-color: white;
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.download p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.download-buttons {
    justify-content: center;
    margin-bottom: 3rem;
}

.download-buttons .btn-primary {
    background-color: var(--primary-color) !important; /* Violet background */
    color: var(--white) !important; /* White text */
    border: none !important;
    border-radius: 16px !important; /* Matching corner radius */
}

.download-buttons .btn-primary:hover {
    background-color: var(--primary-dark) !important; /* Darker violet on hover */
    transform: translateY(-2px) !important;
}

.app-preview {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: center;
}

.screenshot-grid {
    white-space: nowrap;
    font-size: 0; /* Remove space between inline elements */
    padding: 1rem 0;
    display: flex;
    gap: 1.5rem;
    max-width: 850px;
    margin: 0 auto;
}

.screenshot-grid img {
    display: inline-block;
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    font-size: 1rem; /* Reset font size */
    vertical-align: middle;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.screenshot-grid img:last-child {
    margin-right: 0;
}

/* FAQ Section */
.faq {
    padding: 40px 0 5rem 0;
    background-color: var(--secondary-light-200);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-summary {
    width: 100%;
    background-color: white;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    list-style: none;
}

.accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-summary:hover {
    background-color: #f9fafb;
}

details[open] .accordion-summary {
    color: var(--primary-color);
}

.accordion-summary .icon {
    transition: transform 0.3s;
}

details[open] .accordion-summary .icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0.75rem 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--dark-color);
    padding-bottom: 1.5rem;
}

.accordion-content p:last-child {
    padding-bottom: 0;
}

/* Team section */
.team {
    padding: 80px 0 40px 0;
    background-color: var(--secondary-light-200);
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light-100);
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-member h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-member p {
    color: #6b7280;
    line-height: 1.5;
}

.social-link {
    margin-left: 8px;
    color: #0077b5;
    font-size: 0.9em;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

footer .container {
    padding: 0 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo h2 {
    font-size: 2rem;
    color: white;
    line-height: 1;
    margin: 0;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
}

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

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-end;
}

.link-group {
    min-width: 120px;
    text-align: left;
}

.link-group h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group ul li a {
    color: #9ca3af;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #374151;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container,
    .security .container {
        flex-direction: column;
        padding: 1.5rem 20px;
    }
    
    .hero-content,
    .security-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
        padding-top: 0;
    }
    
    .cta-buttons {
        align-items: center;
    }
    
    .security-features {
        margin-left: 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid img {
        max-width: 200px;
    }
    
    .lang-selector {
        margin-left: 0;
    }
    
    .lang-dropdown-content {
        right: auto;
        left: 0;
    }
    
    header .container {
        padding: 0.75rem 20px;
    }
    
    nav ul {
        margin-top: 0;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-product-hunt {
        display: block;
        margin: 0;
        padding: 0 0 1rem 0;
    }
    
    .hero {
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 1rem 0.5rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        width: 100%;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .screenshot-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .screenshot-grid img {
        max-width: 85%;
        min-width: 250px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .scroll-indicator {
        display: block;
    }
}

.scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 0.75rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.scroll-indicator i {
    margin-left: 0.25rem;
    animation: bounce-right 1.5s infinite;
}

@keyframes bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Screenshot horizontal scrolling */
.screenshot-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.screenshot-row {
    display: inline-block;
    white-space: nowrap;
    padding: 1rem 0;
}

.screenshot-row img {
    display: inline-block;
    width: 250px;
    height: auto;
    margin-right: 1.5rem;
    border-radius: 12px;
    box-shadow: none;
    vertical-align: middle;
}

.screenshot-row img:last-child {
    margin-right: 0;
}

/* Language selector styles */
.lang-selector {
    position: relative;
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

/* Product Hunt button styles */
.product-hunt {
    display: none;
}

.mobile-product-hunt {
    display: none;
}

.flag-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn:hover {
    background-color: var(--secondary-light-100);
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 140px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    z-index: 1;
    margin-top: 0.5rem;
}

.lang-dropdown-content a {
    color: var(--dark-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.lang-dropdown-content a:hover {
    background-color: var(--secondary-light-100);
}

.lang-dropdown-content a.active {
    background-color: var(--primary-light-100);
    color: var(--primary-dark);
}

/* Navigation download button */
.nav-download-btn {
    background-color: var(--primary-color) !important; /* Slightly lighter violet background */
    color: var(--white) !important; /* White text */
    border: none !important;
    border-radius: 16px !important; /* Matching corner radius */
    padding: 0.5rem 1.25rem !important; /* Slightly smaller padding for nav */
}

.nav-download-btn:hover {
    background-color: var(--primary-dark) !important; /* Darker violet on hover */
    transform: translateY(-2px) !important;
} 