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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #15803d;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    color: #22C55E;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: rgba(34, 197, 94, 0.2);
    touch-action: manipulation;
    pointer-events: auto;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #22C55E;
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
}

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

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #22C55E;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #22C55E;
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: rgba(34, 197, 94, 0.3);
    }
    
    .nav-toggle:active {
        opacity: 0.7;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    }

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

    .nav-link:hover {
        background: rgba(34, 197, 94, 0.05);
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 12px 0;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-menu {
        top: 60px;
    }
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html {
    width: 100%;
    overflow-x: hidden;
}

/* Ensure all inputs and textareas are mobile-friendly */
input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
    font-size: 16px; /* Prevents zoom on iOS */
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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


.download-icons {
    display: flex;
    gap: 10px;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
    width: 100%;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    width: 100%;
    height: auto;
    max-width: 180px;
}

.store-icon {
    width: 180px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.store-icon:hover {
    transform: scale(1.05);
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    overflow: hidden;
    padding: 100px 0 40px;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: 50%;
    animation: wave 8s ease-in-out infinite;
    pointer-events: none;
}

.wave1 {
    top: 20%;
    left: -50%;
    animation-delay: 0s;
}

.wave2 {
    top: 40%;
    right: -50%;
    animation-delay: 2s;
}

.wave3 {
    top: 60%;
    left: -30%;
    animation-delay: 4s;
}

@keyframes wave {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(50px) rotate(5deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* Mobile-first: mockup first, then buttons, then text */
.hero-content .phone-mockup {
    order: 1;
}

.hero-content .hero-downloads {
    order: 2;
}

.hero-content .hero-text {
    order: 3;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 90%;
    font-weight: 400;
}

.hero-buttons {
    display: none;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    -webkit-tap-highlight-color: rgba(34, 197, 94, 0.3);
    touch-action: manipulation;
    user-select: none;
}

.btn-primary {
    background: #22C55E;
    color: white;
}

.btn-primary:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #22C55E;
    border: 2px solid #22C55E;
}

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

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    position: relative;
    animation: phoneFloat 3s ease-in-out infinite;
}

.iphone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.hero-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
}

.hero-downloads .download-btn {
    width: 100%;
    max-width: 180px;
}

.hero-downloads .store-icon {
    width: 100%;
    max-width: 180px;
    height: 60px;
    object-fit: contain;
}


.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: #2ECC71;
    color: white;
    padding: 20px;
    text-align: center;
}

.status-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 10px;
}

.app-content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ride-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ride-option:hover {
    border-color: #2ECC71;
    transform: translateX(5px);
}

.vehicle-icon {
    font-size: 2rem;
}

.golf-cart-silhouette {
    font-size: 8rem;
    color: #2ECC71;
    opacity: 0.7;
    animation: cartFloat 4s ease-in-out infinite;
}

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

@keyframes cartFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #22C55E;
    margin-bottom: 60px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.1);
}

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

.feature-item h3 {
    font-size: 1.5rem;
    color: #22C55E;
    margin-bottom: 15px;
}

.evolution-timeline {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 20px;
}

.evolution-timeline h3 {
    font-size: 2rem;
    color: #22C55E;
    margin-bottom: 30px;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.05);
}

.timeline-icon {
    font-size: 2.5rem;
}

.timeline-arrow {
    font-size: 2rem;
    color: #22C55E;
    font-weight: bold;
}

/* Invite Section */
.invite {
    padding: 100px 0;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
}

.invite .section-title {
    color: white;
}

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

.invite-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.invite-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.invite-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    touch-action: manipulation;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.invite-form .btn-primary {
    align-self: center;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border-radius: 12px;
    border: 2px solid #dcfce7;
}

.contact-details h3 {
    font-size: 1.3rem;
    color: #22C55E;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 50px 0 25px;
    border-top: 3px solid #22C55E;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    gap: 25px;
}

.footer-logo h3 {
    color: #22C55E;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #444;
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.3s;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile First Responsive Design */

/* Tablet and up */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        gap: 60px;
        align-items: center;
    }
    
    /* Desktop: text first, then visual */
    .hero-content .hero-text {
        flex: 1;
        order: 1;
    }
    
    .hero-content .hero-visual {
        flex: 1;
        order: 2;
        align-items: flex-start;
    }
    
    .hero-content .phone-mockup {
        order: 1;
    }
    
    .hero-content .hero-downloads {
        order: 2;
        flex-direction: row;
        max-width: 100%;
        gap: 15px;
        margin-top: 20px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .hero-content .hero-downloads .download-btn {
        width: auto;
        max-width: 180px;
        flex: 0 0 auto;
    }
    
    .hero-content .hero-downloads .store-icon {
        width: 180px;
        max-width: 180px;
        height: 60px;
        object-fit: contain;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .phone-mockup {
        width: 300px;
        height: 600px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-logo {
        flex: 1;
    }
    
    .footer-links {
        flex: 1;
        justify-content: flex-end;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .phone-mockup {
        width: 350px;
        height: 700px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-downloads .store-icon {
        width: 100%;
        max-width: 180px;
        height: 60px;
        object-fit: contain;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
        padding: 60px 0 40px;
    }
    
    .hero-downloads {
        justify-content: center;
        margin-top: 20px;
        max-width: 180px;
    }
    
    .hero-downloads .download-btn {
        width: 100%;
        max-width: 160px;
    }
    
    .hero-downloads .store-icon {
        width: 100%;
        max-width: 160px;
        height: 53px;
        object-fit: contain;
    }
    
    .download-btn img {
        max-width: 160px;
    }
    
    .iphone-frame {
        border-radius: 25px;
    }
    
    .phone-screen {
        border-radius: 20px;
    }
    
    .app-screenshot {
        border-radius: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px;
        padding: 40px 0 20px;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
    }
    
    .hero-content {
        gap: 20px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .hero-downloads {
        margin-top: 15px;
        max-width: 160px;
    }
    
    .hero-downloads .download-btn {
        width: 100%;
        max-width: 140px;
    }
    
    .hero-downloads .store-icon {
        width: 100%;
        max-width: 140px;
        height: 47px;
        object-fit: contain;
    }
    
    .download-btn img {
        max-width: 140px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Extra small mobile */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 30px 0 15px;
    }
    
    .hero-content {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .hero-downloads {
        margin-top: 10px;
        max-width: 140px;
    }
    
    .hero-downloads .download-btn {
        width: 100%;
        max-width: 120px;
    }
    
    .hero-downloads .store-icon {
        width: 100%;
        max-width: 120px;
        height: 40px;
        object-fit: contain;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    
    .iphone-frame {
        border-radius: 20px;
    }
    
    .phone-screen {
        border-radius: 16px;
    }
    
    .app-screenshot {
        border-radius: 16px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .footer-links {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 8px 16px;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 15px;
    }
}
