/* 
   KonceptCode Premium Design System 
   Global Standard
*/

:root {
    /* Color Palette */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --primary: #67c855;
    --primary-hover: #79d666;
    /* Lighter version */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;

    /* Effects */
    --glass-blur: blur(12px);
    --glow-shadow: 0 0 30px rgba(103, 200, 85, 0.1);
}

/* Reset & Base */
html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    /* Layered background: Gradient overlay + Image */
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)),
        url('img/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Override Bootstrap Colors */
.text-primary {
    color: var(--primary) !important;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
    height: 80px;
    /* Adjusted size for new logo */
    transition: all 0.3s ease;
    /* No filter needed - image is already green */
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(103, 200, 85, 0.1);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: var(--border-color);
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: var(--glass-blur);
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        margin: 0;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        display: block;
        /* Ensure full width click area */
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary) !important;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        width: 100%;
    }

    .navbar-nav .btn-primary-custom {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        margin-left: 0 !important;
        /* Override ms-lg-3 */
        display: block;
    }
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary);
    color: #000;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(103, 200, 85, 0.3);
    color: #000;
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 140px;
        /* More space for logo on mobile */
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.badge-custom {
    background: rgba(103, 200, 85, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(103, 200, 85, 0.2);
    display: inline-block;
}

.features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.features-list i {
    color: var(--primary);
}

/* Globe Animation */
.globe-container {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .globe-container {
        width: 400px;
        height: 400px;
        margin-top: 0;
    }
}

.globe {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.globe-ring:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg);
}

.globe-ring:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(60deg);
}

.globe-ring:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(120deg);
}

.globe-ring:nth-child(4) {
    transform: translate(-50%, -50%) rotateX(60deg);
}

.globe-ring:nth-child(5) {
    transform: translate(-50%, -50%) rotateX(120deg);
}

.globe-ring:nth-child(6) {
    transform: translate(-50%, -50%) rotateX(90deg);
}

.globe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    height: 20%;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px var(--primary);
    filter: blur(5px);
}

@keyframes rotate {
    0% {
        transform: rotateY(0deg) rotateX(20deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(20deg);
    }
}

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

    50% {
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0px);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(103, 200, 85, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* Workflow Section */
.workflow-section {
    padding: var(--section-padding) 0;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .workflow-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.workflow-step {
    flex: 1;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-shadow);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -15px;
    position: relative;
    z-index: 0;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.step-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.arrow-separator {
    font-size: 2rem;
    color: var(--border-color);
    margin-top: 3rem;
    display: none;
}

@media (min-width: 992px) {
    .arrow-separator {
        display: flex;
    }
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-card.popular-plan {
    background: rgba(103, 200, 85, 0.05);
    border-color: var(--primary);
    box-shadow: var(--glow-shadow);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: #000;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.price .per-month {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.features li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* About Us Section */
.about-us-section {
    padding: var(--section-padding) 0;
}

.about-us-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 250px;
    height: 250px;
    transform: rotate(45deg);
    margin: 2rem auto;
}

@media (min-width: 992px) {
    .tech-grid {
        width: 300px;
        height: 300px;
        margin: 0;
    }
}

.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.5s ease;
}

.grid-item:hover {
    background: var(--primary);
    box-shadow: 0 0 30px var(--primary);
}

/* Footer */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    background: #050505;
}

.footer-logo {
    height: 50px;
    opacity: 1;
    /* No filter needed - image is already green */
}

.widget-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.social-icons a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Modals */
.modal-content {
    background: #121212;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-main);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-family: var(--font-heading);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: none;
    color: #fff;
}

.btn-close {
    filter: invert(1);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 20px;
    right: 20px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(103, 200, 85, 0.1);
}

@media (min-width: 768px) {
    #cookie-banner {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 600px;
        padding: 1.25rem 2rem;
        border-radius: 50px;
    }
}

#cookie-banner.show {
    bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: 2rem;
    }
}

#cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

#cookie-banner p i {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--primary);
}