:root {
    --main-background: #0f172a;
    --main-text: #f8fafc;
    --accent-color: #facc15;
    --accent-text: #0f172a;
    --secondary-text: #94a3b8;
    --card-background: #1e293b;
    --border-color: #334155;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--main-background);
    color: var(--main-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

input,
textarea,
select {
    font-family: inherit;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .mobile-text-sm {
        font-size: 0.875rem;
    }

    .break-long-words {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
}

::selection {
    background-color: var(--accent-color);
    color: var(--accent-text);
}

/* ===== header_section ===== */
#header {
    width: 100%
}

.js-mobile-menu.translate-x-0 {
    transform: translateX(0)
}

/* ===== hero_main ===== */
#hero {
    width: 100%;
    position: relative;
}

.hero-blur {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.hero-blur-1 {
    top: -10%;
    right: -10%;
}

.hero-blur-2 {
    bottom: -10%;
    left: -10%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-img-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ===== about_service ===== */
.about-image-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.js-about-section {
    will-change: transform, opacity;
}

/* ===== key_features ===== */
.js-feature-card {
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.js-feature-card:hover {
    transform: translateY(-8px);
}

/* ===== service_advantages ===== */
#advantages {
    width: 100%;
}

.js-advantage-card {
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-advantage-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px) !important;
}

/* ===== business_solutions ===== */
#solutions .js-solution-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

#solutions .js-solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
}

#solutions img {
    transition: transform 0.6s ease;
}

#solutions .js-solution-card:hover img {
    transform: scale(1.1);
}

/* ===== workflow_steps ===== */
#how-it-works {
    width: 100%;
}

#how-it-works .js-step-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#how-it-works .js-step-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--accent-color) !important;
}

/* ===== security_info ===== */
#security {
    width: 100%
}

.js-security-card {
    will-change: transform, border-color
}

/* ===== faq_accordion ===== */
#faq .collapse {
    transition: all 0.3s ease;
}

#faq .collapse:hover {
    border-color: var(--accent-color);
}

#faq .collapse-title i {
    transition: transform 0.3s ease;
}

#faq .collapse input[type="radio"]:checked~.collapse-title i {
    transform: scale(1.1);
}

#faq .collapse-content p {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* ===== connection_form ===== */
#contact-form .input,
#contact-form .textarea {
    width: 100%;
    transition: all 0.3s ease;
}

#contact-form .input:focus,
#contact-form .textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

#contact-form .checkbox:checked {
    border-color: var(--accent-color);
}

/* ===== footer ===== */
#footer {
    width: 100%;
    position: relative;
    z-index: 10;
}

.link-hover:hover {
    color: var(--accent-color) !important;
}