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

:root {
    /* Desert Theme Colors */
    --primary-dark: #2a1810;
    --primary-light: #f5e6d3;
    --sand: #e8d4b8;
    --highlight-red: #a8453c;
    --highlight-red-light: #c75c52;
    --highlight-red-dark: #7d3a31;
    --gold: #d4a574;
    --text-dark: #3a2817;
    --text-light: #f5e6d3;
    --border-color: #d4a574;
    --shadow: 0 10px 30px rgba(42, 24, 16, 0.15);
    --shadow-hover: 0 15px 40px rgba(168, 69, 60, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d4b8 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ============ NAVIGATION ============ */
.navbar {
    background: rgba(42, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(168, 69, 60, 0.1);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 2px 30px rgba(168, 69, 60, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--highlight-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--highlight-red);
}

.btn-report {
    background: var(--highlight-red) !important;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-report:hover {
    background: var(--highlight-red-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 69, 60, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============ HERO SECTION ============ */
.hero {
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d4b8 50%, #f5e6d3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 69, 60, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideDown 0.8s ease;
}

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

.highlight-text {
    background: linear-gradient(135deg, var(--highlight-red), var(--highlight-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    opacity: 0.8;
    animation: slideUp 0.8s ease 0.1s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease 0.2s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight-red), var(--highlight-red-light));
    color: white;
    box-shadow: 0 4px 15px rgba(168, 69, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 69, 60, 0.5);
}

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

.btn-secondary:hover {
    background: var(--highlight-red);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: slideUp 0.8s ease 0.3s both;
}

.stat {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 69, 60, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    border-color: var(--highlight-red);
    box-shadow: 0 10px 30px rgba(168, 69, 60, 0.2);
}

.stat h3 {
    font-size: 2rem;
    color: var(--highlight-red);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);
    opacity: 0.7;
}

/* ============ FEATURES SECTION ============ */
.features {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dark);
    opacity: 0.6;
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
}

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

.feature-card {
    background: linear-gradient(135deg, #f5e6d3 0%, #fafaf8 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    border-color: var(--highlight-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--highlight-red), var(--highlight-red-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.7;
    line-height: 1.6;
}

/* ============ DEMO SECTION ============ */
.demo {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e8d4b8 0%, #f5e6d3 100%);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--highlight-red);
    transition: all 0.3s ease;
}

.demo-container:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.demo-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(168, 69, 60, 0.15);
}

.demo-image:hover {
    transform: scale(1.03);
}

.demo-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.demo-info p {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.demo-steps {
    list-style: none;
    padding: 0;
}

.demo-steps li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(168, 69, 60, 0.1);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.demo-steps li:last-child {
    border-bottom: none;
}

.demo-steps li:hover {
    padding-left: 1rem;
    color: var(--highlight-red);
}

.demo-steps strong {
    color: var(--highlight-red);
}

/* ============ INSTALL SECTION ============ */
.install {
    padding: 80px 20px;
    background: white;
}

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

.step {
    background: linear-gradient(135deg, #f5e6d3 0%, #fafaf8 100%);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.step:hover {
    border-top-color: var(--highlight-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--highlight-red), var(--highlight-red-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.2) rotate(360deg);
}

.step h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

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

.step code {
    background: var(--primary-dark);
    color: var(--gold);
    padding: 0.8rem;
    border-radius: 6px;
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    transition: all 0.3s ease;
}

.step:hover code {
    box-shadow: 0 5px 15px rgba(168, 69, 60, 0.2);
}

.install-cta {
    text-align: center;
}

/* ============ BUG REPORT SECTION ============ */
.bug-report {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e8d4b8 0%, #f5e6d3 100%);
}

.bug-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bug-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--highlight-red);
}

.bug-form:hover {
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-red);
    box-shadow: 0 0 0 3px rgba(168, 69, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.bug-form button {
    width: 100%;
}

.bug-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-right: 5px solid var(--highlight-red);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bug-info:hover {
    box-shadow: var(--shadow-hover);
}

.bug-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.bug-info p {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

/* ============ CONTACT SECTION ============ */
.contact {
    padding: 80px 20px;
    background: white;
}

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

.contact-card {
    background: linear-gradient(135deg, #f5e6d3 0%, #fafaf8 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    border-color: var(--highlight-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--highlight-red);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.contact-card p {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--highlight-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    transform: translateX(5px);
    color: var(--highlight-red-light);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 20px 1rem;
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--highlight-red);
    transform: translateX(5px);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--text-light);
    opacity: 0.8;
}

.heart {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 24, 16, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(42, 24, 16, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    float: right;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--highlight-red);
}

.modal-header {
    font-size: 4rem;
    color: var(--highlight-red);
    margin-bottom: 1rem;
}

.modal h2 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.modal p {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.modal button {
    width: 100%;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .demo-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .bug-form-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .install-steps {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 20px 40px;
    }

    .features,
    .demo,
    .install,
    .bug-report,
    .contact {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}
