@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap');

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

:root {
    --primary-green: #10B981;
    --dark-green: #059669;
    --light-green: #34D399;
    --emerald: #047857;
    --bg-white: #ffffff;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --text-light-gray: #9CA3AF;
    --border-light: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    min-height: 100vh;
}

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

/* Header & Logo */
header {
    background: var(--bg-white);
    padding: 25px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.logo-image {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

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

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, var(--light-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.85em;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 80px 40px;
    text-align: center;
    margin: 50px auto;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 
        0 10px 40px rgba(16, 185, 129, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green), var(--light-green), var(--primary-green), var(--dark-green));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.8;
    font-weight: 400;
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(16, 185, 129, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    border: none;
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(16, 185, 129, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* Philosophy Section */
.philosophy {
    background: var(--bg-light);
    padding: 80px 0;
    margin: 70px auto;
    border-radius: 24px;
}

.philosophy h2,
.products h2,
.features h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 20px;
}

.philosophy h2::after,
.products h2::after,
.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green), var(--light-green));
    border-radius: 2px;
}

.philosophy h2::before,
.products h2::before,
.features h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.principle-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover::before {
    transform: scaleX(1);
}

.principle-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 
        0 12px 32px rgba(16, 185, 129, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

.principle-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.principle-card p {
    color: var(--text-gray);
    font-size: 1em;
    line-height: 1.7;
    font-weight: 400;
}

/* Products Section */
.products {
    background: var(--bg-white);
    padding: 80px 0;
    margin: 70px auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    padding: 0 40px;
}

.product-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(16, 185, 129, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6em;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.product-card p {
    font-size: 1.05em;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    background: var(--bg-light);
    padding: 80px 40px;
    margin: 70px auto;
    border-radius: 24px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    border-color: var(--primary-green);
    transform: translateX(8px);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

.feature-item .check {
    font-size: 1.5em;
    margin-right: 18px;
    color: var(--primary-green);
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.05em;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 50px 0;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
}

footer p {
    color: var(--text-gray);
    font-size: 0.95em;
    margin-bottom: 8px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    padding: 12px 30px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

/* Responsive */
@media (max-width: 968px) {
    .logo {
        flex-direction: column;
        gap: 12px;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 2em;
    }

    .hero {
        padding: 60px 30px;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1.05em;
    }

    .principles, 
    .product-grid,
    .feature-list {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .philosophy h2,
    .products h2,
    .features h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.8em;
    }
    
    .logo-subtitle {
        font-size: 0.75em;
    }
    
    .hero {
        padding: 40px 20px;
        margin: 30px auto;
    }
    
    .hero h2 {
        font-size: 1.8em;
    }
    
    .philosophy,
    .products,
    .features {
        padding: 60px 0;
        margin: 40px auto;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Modern MocSportu Footer - taka sama jak na forum */
.mocsportu-footer {
    background: #10B981;
    color: #ffffff;
    padding: 0;
    margin-top: 80px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo-section {
    margin-bottom: 30px;
}

.mocsportu-footer .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.mocsportu-footer .logo-image {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.mocsportu-footer .logo-image:hover {
    transform: scale(1.05);
}

.mocsportu-footer .logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -1px;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.8) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.mocsportu-footer .logo-subtitle {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.footer-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
    margin: 15px 0;
    font-family: 'Inter', sans-serif;
}

.footer-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-credits p {
    margin: 8px 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

@media only screen and (max-width: 768px) {
    .mocsportu-footer .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .mocsportu-footer .logo-text h1 {
        font-size: 2em;
    }
    
    .mocsportu-footer .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .footer-content {
        padding: 40px 15px 20px;
    }
    
    .mocsportu-footer {
        margin-top: 60px;
    }
}
