/* ========================================
   Horse Agenda - Landing Page Styles
   ======================================== */

:root {
    /* Client colors (green/teal) */
    --client-primary: #00B894;
    --client-secondary: #00CEC9;
    --client-gradient: linear-gradient(135deg, #00B894 0%, #00CEC9 100%);
    
    /* Pro colors (orange) */
    --pro-primary: #E67E22;
    --pro-secondary: #F39C12;
    --pro-gradient: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    
    /* Neutral colors */
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

/* App Icons */
.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.app-icon-client {
    border: none;
}

.app-icon-pro {
    border: 2px solid #eee;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--client-gradient);
    color: var(--white);
}

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

.btn-client {
    background: var(--client-gradient);
    color: var(--white);
}

.btn-pro {
    background: var(--pro-gradient);
    color: var(--white);
}

.btn-client:hover,
.btn-pro:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--client-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.phone-mockup {
    width: 280px;
    height: auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid #222;
    background: #222;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================
   App Sections (Client & Pro)
   ======================================== */

.app-section {
    padding: 100px 0;
}

.client-section {
    background: linear-gradient(180deg, #E8F8F5 0%, var(--white) 100%);
}

.pro-section {
    background: linear-gradient(180deg, #FEF5E7 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-client {
    background: var(--client-gradient);
    color: var(--white);
}

.badge-pro {
    background: var(--pro-gradient);
    color: var(--white);
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Screenshots Carousel */
.screenshots-carousel {
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
}

.screenshots-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.screenshot {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
}

.screenshot img {
    width: 100%;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.screenshot-label {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* App Features List */
.app-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.app-feature {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.app-feature span {
    margin-right: 8px;
}

/* ========================================
   Download Section
   ======================================== */

.download-section {
    padding: 100px 0;
    background: var(--client-gradient);
    text-align: center;
    color: var(--white);
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.download-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button {
    display: block;
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: translateY(-3px);
}

.store-button img {
    height: 50px;
    width: auto;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 220px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .screenshot {
        width: 160px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .app-features {
        flex-direction: column;
        align-items: center;
    }
    
    .app-feature {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ========================================
   Animations
   ======================================== */

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

.hero-content,
.hero-image,
.feature-card,
.section-header {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

/* Scrollbar Styling */
.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.screenshots-carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}
