/* ============================================
   TRUFFLE2HUNT WEBSITE STYLES
   Modern, Responsive, Professional Design
   ============================================ */

/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #8D6E63;
    --accent-color: #FFA726;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.download-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
}

.nav-link.download-btn::after {
    display: none;
}

.nav-link.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.phone-mockup img {
    width: 100%;
    border-radius: 30px;
    border: 8px solid #1a1a1a;
}

.hero-map-preview {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255, 255, 255, 0.85);
    transform: translateY(0);
    transition: var(--transition);
}

.hero-map-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-map-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-map-caption {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    font-size: 1.1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background-color: var(--bg-white);
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background-color: var(--bg-light);
}

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

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* ============================================
   SCREENSHOTS
   ============================================ */
.screenshots {
    background-color: var(--bg-white);
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.screenshot-item p {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.download h2 {
    color: white;
    margin-bottom: 1rem;
}

.download p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text {
    font-size: 0.75rem;
    color: var(--text-light);
}

.store-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.version-info {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #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 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-section p {
    color: rgba(255,255,255,0.7);
}

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

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.social-links svg {
    width: 20px;
    height: 20px;
}

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

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* ============================================
   TUTORIALS PAGE
   ============================================ */
.tutorials-content {
    background-color: var(--bg-light);
}

.tutorial-section {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.tutorial-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tutorial-intro {
    margin-bottom: 2rem;
}

.tutorial-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.video-wrapper {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.video-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.tutorial-steps h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tutorial-steps ol {
    list-style: decimal;
    margin-left: 2rem;
}

.tutorial-steps ol li {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tutorial-steps ul {
    list-style: disc;
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.tutorial-steps ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.tutorial-tip {
    background-color: #FFF3CD;
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
}

.tutorial-tip strong {
    color: var(--accent-color);
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

.settings-list {
    list-style: none;
}

.settings-list li {
    padding: 1rem;
    background-color: var(--bg-light);
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.support-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.support-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.support-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* ============================================
   PRIVACY/LEGAL PAGE
   ============================================ */
.legal-content {
    background-color: var(--bg-light);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.toc {
    position: sticky;
    top: 100px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.toc h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.toc ul {
    list-style: none;
}

.toc ul li {
    margin-bottom: 0.75rem;
}

.toc ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.toc ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.legal-text {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.legal-text section {
    padding: 2rem 0;
}

.legal-text h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-text h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul {
    list-style: disc;
    margin-left: 2rem;
}

.legal-text ul li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-text p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.highlight-box {
    background-color: #E8F5E9;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-box a {
    color: var(--primary-color);
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .toc {
        position: static;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .phone-mockup {
        max-width: 300px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 60px 0;
    }
    
    .features-grid,
    .steps,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tutorial-section {
        padding: 2rem 1.5rem;
    }
    
    .legal-text {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================
   SALE BANNER
   ============================================ */
.sale-banner {
    background: linear-gradient(135deg, #FF4444 0%, #FF6B35 25%, #F7931E 50%, #FFD700 75%, #FFA500 100%);
    color: #FFFFFF !important;
    padding: 1.5rem 0 !important;
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
    z-index: 1000;
    border-bottom: 3px solid #FFD700;
}

.sale-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.sale-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.sale-icon {
    font-size: 2.5rem !important;
    animation: bounce 2s infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

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

.sale-text {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
    color: #FFFFFF !important;
    line-height: 1.4;
}

.sale-text strong {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
}

.sale-button {
    background-color: #FFFFFF !important;
    color: #FF4444 !important;
    padding: 0.8rem 2rem !important;
    border-radius: 30px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    border: 2px solid #FFD700;
    letter-spacing: 0.5px;
}

.sale-button:hover {
    background-color: #FFD700;
    color: #1B5E20;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .sale-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sale-text {
        font-size: 0.95rem;
    }
    
    .sale-text strong {
        font-size: 1rem;
    }
    
    .sale-button {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}










