:root {
    --primary-color: #07C160;
    --primary-gradient: linear-gradient(135deg, #07C160 0%, #05a353 100%);
    --secondary-color: #1f2937;
    --accent-color: #f9fafb;
    --text-color: #111827;
    --text-muted: #6b7280;
    --light-gray: #f9fafb;
    --navbar-height: 76px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--navbar-height); /* Fix navbar overlap */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.025em;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    background: var(--primary-gradient) !important;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(7, 193, 96, 0.1), 0 2px 4px -1px rgba(7, 193, 96, 0.06);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(7, 193, 96, 0.2), 0 4px 6px -2px rgba(7, 193, 96, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 28px;
    border-width: 2px;
    font-weight: 600;
}

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

/* Navbar */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 800;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 12px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--primary-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Mobile Image Container (9:16 Aspect Ratio) */
.mobile-frame-container {
    position: relative;
    width: 280px;
    margin: 0 auto;
    perspective: 1500px;
}

.mobile-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9/19; /* iPhone aspect ratio */
    background: #000;
    border-radius: 36px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid #333;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mobile-frame:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
}

.mobile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-frame-simple {
    position: relative;
    width: 100%;
    max-width: 100%; /* Changed from 320px to prevent overflow on small screens */
    aspect-ratio: 9/18;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 576px) {
    .mobile-frame-simple {
        max-width: 320px;
    }
}

.mobile-frame-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mobile-frame-simple:hover img {
    transform: scale(1.05);
}


/* Features */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(7, 193, 96, 0.1) 0%, rgba(7, 193, 96, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 28px;
    transition: transform 0.3s ease;
}

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

/* Tech Specs */
.tech-section {
    background-color: #f9fafb;
    padding: 100px 0;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: background 0.3s ease;
}

.tech-item:hover {
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.tech-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 20px;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.02);
}

.form-control {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(7, 193, 96, 0.1);
}

.contact-info {
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 60px;
    }

    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 1.1rem;
        border: none;
        color: var(--primary-color);
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 60px 0 60px;
        text-align: center;
    }
    
    .hero-image-container {
        margin-top: 50px;
    }
    
    .mobile-frame-container {
        width: 100%;
        max-width: 240px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .d-flex.justify-content-lg-start {
        justify-content: center !important;
    }
}
