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

:root {
    /* Feed Connect Brand Colors */
    --primary: #006B3F;
    --primary-dark: #005030;
    --secondary: #2D9B5F;
    --accent: #F9E500;
    --success: #2D9B5F;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --yellow: #F9E500;
    --green: #006B3F;
    --green-light: #2D9B5F;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #006B3F 0%, #2D9B5F 100%);
    --gradient-secondary: linear-gradient(135deg, #F9E500 0%, #FFD700 100%);
    --gradient-success: linear-gradient(135deg, #2D9B5F 0%, #006B3F 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.btn-nav {
    padding: 0.625rem 1.25rem !important;
    background: var(--gradient-primary);
    color: var(--white) !important;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #fffef0 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 107, 63, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 229, 0, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: 1rem;
    padding: 0;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.hero-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-2xl);
}

.card-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 220px;
}

.card-2 {
    top: 45%;
    right: 10%;
    animation-delay: 1s;
    width: 220px;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
    width: 220px;
}

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

.card-text {
    font-weight: 600;
    color: var(--dark);
    padding: 1rem;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 107, 63, 0.03) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    z-index: 0;
}

.features::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 229, 0, 0.03) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 107, 63, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.6;
}

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

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 107, 63, 0.03) 0%, rgba(249, 229, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 107, 63, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 20px 40px rgba(0, 107, 63, 0.15),
        0 0 0 1px rgba(0, 107, 63, 0.1),
        0 0 80px rgba(0, 107, 63, 0.08);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 107, 63, 0.06);
    line-height: 1;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-number {
    color: rgba(0, 107, 63, 0.12);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-wrapper {
    position: relative;
    width: fit-content;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 107, 63, 0.25);
}

.feature-icon svg {
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 107, 63, 0.35);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

.feature-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    filter: blur(20px);
    z-index: 1;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon-bg {
    width: 130%;
    height: 130%;
    opacity: 0.3;
    filter: blur(30px);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    color: var(--gray);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feature-list li {
    color: var(--gray);
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 107, 63, 0.1) 0%, rgba(45, 155, 95, 0.1) 100%);
    color: var(--success);
    font-weight: 700;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-list li {
    color: var(--dark);
    transform: translateX(5px);
}

.feature-card:hover .feature-list li::before {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Staggered animation for list items */
.feature-card:hover .feature-list li:nth-child(1) {
    transition-delay: 0.05s;
}

.feature-card:hover .feature-list li:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:hover .feature-list li:nth-child(3) {
    transition-delay: 0.15s;
}

.feature-card:hover .feature-list li:nth-child(4) {
    transition-delay: 0.2s;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #fffef8 100%);
}

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

.screenshot-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.screenshot-item:hover .screenshot-overlay {
    background: linear-gradient(to top, rgba(0, 107, 63, 0.95) 0%, rgba(0, 107, 63, 0.7) 70%, transparent 100%);
}

.screenshot-overlay h4 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.screenshot-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fffef0 0%, #f8fdf9 100%);
}

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

.about-description {
    color: var(--gray);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-success);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.about-feature-text p {
    color: var(--gray);
}

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

.about-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 400px;
}

.about-card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.about-card-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--gray-light);
}

.about-card-dot:nth-child(1) {
    background: #ef4444;
}

.about-card-dot:nth-child(2) {
    background: var(--accent);
}

.about-card-dot:nth-child(3) {
    background: var(--primary);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--gray);
    font-weight: 500;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.cta .btn-primary {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
}

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

.cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.cta-note {
    font-size: 0.875rem;
    opacity: 0.85;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        width: 180px;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        width: 150px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-description {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-number {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .feature-icon-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-btn,
    .cta,
    .footer {
        display: none;
    }
}
