/* Gardeo Landing Page - Matching Main App Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@700;800;900&display=swap');

:root {
    /* Kolory z głównej aplikacji */
    --garden-50: #f0fdf4;
    --garden-100: #dcfce7;
    --garden-200: #bbf7d0;
    --garden-300: #86efac;
    --garden-400: #4ade80;
    --garden-500: #22c55e;
    --garden-600: #16a34a;
    --garden-700: #15803d;
    --garden-800: #166534;
    --garden-900: #14532d;
    
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --dark-500: #64748b;
    
    --sky-50: #f0f9ff;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, 
        white 0%, 
        rgba(240, 253, 244, 0.3) 50%, 
        rgba(240, 249, 255, 0.3) 100%
    );
    min-height: 100vh;
    color: var(--dark-800);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== OPTIMIZED PARTICLES ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden; /* Ukryj elementy poza ekranem */
}

.particle {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    will-change: transform, opacity; /* Optymalizacja GPU */
    animation: riseOptimized 25s linear infinite;
}

/* Zoptymalizowana animacja - tylko transform */
@keyframes riseOptimized {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.12;
    }
    95% {
        opacity: 0.12;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ==================== CONTAINER ==================== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

/* ==================== HEADER ==================== */
.header {
    padding: 2rem 0 4rem;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: 2px solid var(--garden-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo:hover {
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--garden-600), var(--garden-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* ==================== HERO ==================== */
.main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 5rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-900);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark-600);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ==================== STATUS BADGE ==================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 2px solid var(--garden-200);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--garden-700);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.15);
    margin-bottom: 2rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--garden-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* ==================== FEATURES - CIRCULAR LAYOUT (OKRĄGŁE KARTY) ==================== */
.features {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 5rem auto;
    padding: 2rem;
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-circle {
    position: relative;
    width: 700px;
    height: 700px;
}

/* Logo w środku */
.features-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    margin-top: -80px;  /* ← Połowa wysokości */
    margin-left: -80px; /* ← Połowa szerokości */
    background: linear-gradient(135deg, var(--garden-400), var(--garden-500)); /* ← Jaśniejszy gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    padding: 0;
    font-size: 5rem; /* ← Dla emoji */
    line-height: 1; /* ← Fix dla centrowania emoji */
}

/* Logo SVG styling */
.features-center img {
    width: 80%;
    height: 80%;
    display: block; /* ← Usuń inline spacing */
}

/* Responsywne logo w środku */
@media (max-width: 1024px) {
    .features-center {
        width: 140px;
        height: 140px;
        margin-top: -70px;
        margin-left: -70px;
        font-size: 4rem;
    }
}

/* Okrągłe karty */
.feature-card {
    position: absolute;
    width: 200px;
    height: 200px;
    background: white;
    border: 3px solid var(--garden-100);
    border-radius: 50%; /* ← Okrągłe! */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: none; /* Usuń poprzedni element */
}

/* Matematyczne rozmieszczenie po okręgu - 6 kart co 60° */
/* Promień = 250px od środka */

/* Góra: 0° (12:00) */
.feature-card:nth-child(2) {
    top: calc(50% - 250px);
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Prawo-góra: 60° (2:00) */
.feature-card:nth-child(3) {
    top: calc(50% - 216px);
    left: calc(50% + 216px);
    transform: translate(-50%, -50%);
}

/* Prawo-dół: 120° (4:00) */
.feature-card:nth-child(4) {
    top: calc(50% + 216px);
    left: calc(50% + 216px);
    transform: translate(-50%, -50%);
}

/* Dół: 180° (6:00) */
.feature-card:nth-child(5) {
    top: calc(50% + 250px);
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Lewo-dół: 240° (8:00) */
.feature-card:nth-child(6) {
    top: calc(50% + 216px);
    left: calc(50% - 216px);
    transform: translate(-50%, -50%);
}

/* Lewo-góra: 300° (10:00) */
.feature-card:nth-child(7) {
    top: calc(50% - 216px);
    left: calc(50% - 216px);
    transform: translate(-50%, -50%);
}

/* Hover dla wszystkich kart */
.feature-card:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
    border-color: var(--garden-500);
    border-width: 4px;
    z-index: 20;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.25rem;
    padding: 0 1rem;
}

.feature-desc {
    font-size: 0.8rem;
    color: var(--dark-600);
    line-height: 1.3;
    padding: 0 1rem;
}

/* ==================== INFO BOX ==================== */
.info-box {
    text-align: center;
    max-width: 700px;
    margin: 5rem auto;
    padding: 3rem;
    background: white;
    border: 2px solid var(--garden-100);
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.1);
}

.info-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 1rem;
}

.info-subtitle {
    font-size: 1.2rem;
    color: var(--dark-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
}

.info-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--garden-50);
    border-radius: 1rem;
    border: 1px solid var(--garden-200);
}

.info-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-feature-text {
    font-size: 1rem;
    color: var(--dark-700);
    font-weight: 500;
}

.info-note {
    font-size: 0.9rem;
    color: var(--dark-500);
    font-style: italic;
}

/* ==================== CONTACT BOX ==================== */
.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.5), 
        rgba(240, 249, 255, 0.5)
    );
    border: 2px solid var(--garden-200);
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.contact-box:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--dark-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--garden-300);
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--garden-700);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: var(--garden-50);
    border-color: var(--garden-500);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
    transform: scale(1.05);
}

.email-icon {
    font-size: 1.3rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 2px solid var(--garden-100);
    margin-top: 6rem;
    color: var(--dark-600);
}

/* ==================== RESPONSIVE - CIRCULAR LAYOUT ==================== */
@media (max-width: 1024px) {
    .features {
        min-height: 750px;
    }
    
    .features-circle {
        width: 600px;
        height: 600px;
    }
    
    .feature-card {
        width: 180px;
        height: 180px;
    }
    
    .features-center {
        width: 140px;
        height: 140px;
        font-size: 4rem;
    }
    
    /* Zmniejszony promień dla mniejszych ekranów */
    .feature-card:nth-child(2) {
        top: calc(50% - 220px);
    }
    
    .feature-card:nth-child(3) {
        top: calc(50% - 190px);
        left: calc(50% + 190px);
    }
    
    .feature-card:nth-child(4) {
        top: calc(50% + 190px);
        left: calc(50% + 190px);
    }
    
    .feature-card:nth-child(5) {
        top: calc(50% + 220px);
    }
    
    .feature-card:nth-child(6) {
        top: calc(50% + 190px);
        left: calc(50% - 190px);
    }
    
    .feature-card:nth-child(7) {
        top: calc(50% - 190px);
        left: calc(50% - 190px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Na mobile wraca do pionowego układu */
    .features {
        display: block;
        min-height: auto;
        padding: 1rem;
    }
    
    .features-circle {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature-card {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 1.5rem !important; /* Prostokąty na mobile */
        transform: none !important;
        margin: 0;
        padding: 2rem !important;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .features-center {
        display: none;
    }
    
    .info-box {
        padding: 2rem;
    }
    
    .contact-box {
        padding: 2rem;
        margin: 3rem auto;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-email {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}