/* ==================================
   HOME PAGE - KONECTAI.DEV
   Modern, professional & responsive
   ================================== */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 120px 20px 80px;
    text-align: center;
}

/* Animated background particles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 153, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 153, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 153, 0, 0.03) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Mountain decoration */
.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 1;
    opacity: 0.15;
}

.mountain-layer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.mountain-layer-1 {
    background: linear-gradient(to top, #FF9900 0%, transparent 100%);
    clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 50%, 80% 70%, 100% 60%, 100% 100%);
}

.mountain-layer-2 {
    background: linear-gradient(to top, rgba(255, 153, 0, 0.3) 0%, transparent 100%);
    clip-path: polygon(0 100%, 10% 70%, 30% 60%, 50% 75%, 70% 55%, 90% 65%, 100% 100%);
    animation: float 20s ease-in-out infinite;
}

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

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

/* Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    color: #FF9900;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero-badge span {
    margin-right: 8px;
}

/* Hero title */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FF9900 0%, #ffbb33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF9900, transparent);
    animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Hero tagline */
.hero-tagline {
    font-size: 1.3rem;
    color: #E5E5E5;
    margin-bottom: 20px;
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Hero description */
.hero-description {
    font-size: 1.1rem;
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out 1s backwards;
}

.hero-cta .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #FF9900 0%, #ff8800 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 153, 0, 0.5);
}

.hero-cta .btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FF9900;
    color: #FF9900;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF9900;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #E5E5E5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #FF9900;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SERVICES SECTION ===== */
.section {
    padding: 100px 20px;
    background: #FFFFFF;
}

.services-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #FFFFFF 100%);
}

/* Section header */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 16px;
}

.section-title .text-orange {
    color: #FF9900;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #808080;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service card */
.service-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9900, #ffbb33);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 153, 0, 0.2);
}

/* Service icon */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1) 0%, rgba(255, 153, 0, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #FF9900;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #FF9900 0%, #ff8800 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.3);
}

/* Service title */
.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #FF9900;
}

/* Service description */
.service-description {
    font-size: 1rem;
    color: #808080;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF9900;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: #ff8800;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ===== WHY SECTION ===== */
.why-section {
    background: #000000;
    color: #FFFFFF;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 153, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 153, 0, 0.05) 0%, transparent 50%);
}

.why-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(255, 153, 0, 0.05);
    border-color: rgba(255, 153, 0, 0.2);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 48px;
    color: #FF9900;
    margin-bottom: 20px;
}

.why-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.why-item p {
    color: #E5E5E5;
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #FF9900 0%, #ff8800 100%);
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></svg>');
    animation: movePattern 30s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.cta-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn-white {
    background: #FFFFFF;
    color: #FF9900;
}

.cta-buttons .btn-white:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.cta-buttons .btn-outline-white:hover {
    background: #FFFFFF;
    color: #FF9900;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .section {
        padding: 60px 20px;
    }
}

/* Animation utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}
