/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors from Logo */
    --primary-blue: #229BCE;
    --dark-green: #153234;
    --header-footer-color: #263233;
    --light-green: #6FB844;
    --brand-yellow: #FFE500;
    --light-gray: #F9FAF9;
    --white: #FAFBFA;
    --dark-text: #153234;
    --light-text: #666;
    --hover-blue: #1a7ba5;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-footer-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-blue);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-yellow);
    text-decoration: none;
}

.logo-svg {
    height: 40px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-svg {
    transform: scale(1.1);
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--brand-yellow);
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-green) 50%, var(--light-green) 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--brand-yellow) 0%, transparent 20%, transparent 80%, var(--brand-yellow) 100%);
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--brand-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand-yellow);
    color: var(--dark-green);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--light-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: var(--brand-yellow);
}

.btn-secondary:hover {
    background: var(--brand-yellow);
    color: var(--dark-green);
    transform: translateY(-2px);
}

/* Simulator Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.simulator-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.simulator-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.simulator-image:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 155, 206, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

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

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--light-text);
    font-weight: 500;
}

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

.app-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gray), #fff);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(34, 155, 206, 0.2);
    transition: transform 0.3s ease;
}

.app-icon-container:hover {
    transform: translateY(-10px);
}

.app-icon {
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-blue));
    color: #fff;
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, var(--brand-yellow) 50%, transparent 60%);
    opacity: 0.1;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    color: #1f2937;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 2rem;
}

.download-btn div {
    text-align: left;
}

.download-btn span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
}

.download-btn strong {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--header-footer-color);
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brand-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-yellow);
    margin-bottom: 1rem;
}

.footer-logo .logo-svg {
    height: 35px;
    width: auto;
    margin-right: 10px;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brand-yellow);
}

.footer-section ul li i {
    margin-right: 10px;
    width: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
}

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
    background: var(--light-gray);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--light-text);
    font-size: 1.125rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--header-footer-color);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 1.5rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 20px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

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

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        min-width: 200px;
        text-align: center;
    }

    .simulator-image {
        max-height: 350px;
        width: 90%;
        margin: 0 auto;
    }

    /* Features Section Mobile */
    .features {
        padding: 30px 0 50px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

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

    .feature-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    /* About Section Mobile */
    .about {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .app-icon-container {
        padding: 15px;
        margin: 0 15px;
    }
    
    .app-icon {
        max-width: 200px;
        max-height: 200px;
    }

    /* Download Section Mobile */
    .download {
        padding: 50px 0;
    }

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

    .download-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .download-btn {
        width: 80%;
        max-width: 250px;
    }

    /* Footer Mobile */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h4 {
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        margin-bottom: 0.8rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.8rem;
    }

    /* Legal Pages Mobile */
    .legal-page {
        padding: 100px 0 40px;
    }

    .legal-header {
        margin-bottom: 2rem;
    }

    .legal-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .legal-content {
        padding: 1.5rem;
        margin: 0 15px;
    }

    .legal-content section {
        margin-bottom: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Hero Section - Very Small */
    .hero {
        padding: 90px 0 15px;
    }

    .hero-container {
        padding: 0 10px;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
        display: inline-block;
    }

    .simulator-image {
        max-height: 280px;
        width: 95%;
    }

    /* Sections - Reduced Padding */
    .features {
        padding: 20px 0 40px;
    }
    
    .about, .download {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Feature Cards - Compact */
    .features-grid {
        gap: 1.2rem;
    }

    .feature-card {
        padding: 1.2rem;
        margin: 0 5px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* About Section - Compact */
    .about-content {
        gap: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.2rem;
    }

    .stat h3 {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

    .app-icon-container {
        padding: 10px;
        margin: 0 10px;
    }

    .app-icon {
        max-width: 150px;
        max-height: 150px;
    }

    /* Download Section - Compact */
    .download-content h2 {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }

    .download-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .download-btn {
        width: 90%;
        max-width: 220px;
        padding: 0.8rem 1rem;
    }

    .download-btn div {
        font-size: 0.8rem;
    }

    .download-btn strong {
        font-size: 0.95rem;
    }

    /* Footer - Compact */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.85rem;
    }

    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .footer-logo .logo-svg {
        height: 30px;
    }

    /* Legal Pages - Compact */
    .legal-page {
        padding: 90px 0 30px;
    }

    .legal-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .legal-content {
        padding: 1.2rem;
        margin: 0 10px;
    }

    .legal-content section {
        margin-bottom: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .legal-content h3 {
        font-size: 1rem;
        margin: 0.8rem 0 0.6rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}