:root {
    --primary: #2563eb;
    --secondary: #1e293b;
    --accent: #06b6d4;
    --background: #f8fafc;
    --text: #334155;
    --white: #ffffff;
    --light-gray: #f1f5f9;
    --dark-gray: #64748b;
    --red: #dc3545;
    --green: #198754;
    --border-radius: 6px;
}
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
}
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    line-height: 1.3;
    word-break: break-word;
}
main {
    flex-grow: 1;
}

.h-100 {
    height: 100%;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
h1,
h2,
h3,
h4,
h5,
h6  {
    font-weight: 600;
    margin-top: 0;
}
h1, h2 {
    margin-bottom: 1.5rem;
}
h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}
h2, .h2 {
    font-size: calc(1.325rem + 0.9vw);
}
h3, .h3 {
    font-size: calc(1.3rem + 0.6vw);
}
h4, .h4 {
    font-size: calc(1.275rem + 0.3vw);
}
h5, .h5 {
    font-size: 1.25rem;
}
h6, .h6 {
    font-size: 1rem;
}

.fw-700 {
    font-weight: 700 !important;
}
.fw-600 {
    font-weight: 600 !important;
}
.fw-500 {
    font-weight: 500 !important;
}
.fw-400 {
    font-weight: 400 !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    outline: none;
    transition: all 0.3s ease;
}
a:not(.btn):hover {
    text-decoration: underline;
}

button, .btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    overflow: hidden;
}
button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: var(--white);
}
.btn-outlined {
    padding: 0.75rem 1.768em;
    border: 2px solid;
}
.btn-outlined:hover {
    color: var(--accent);
}
.btn-primary-action {
    background: linear-gradient(45deg, var(--accent), var(--primary));
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary-action:hover {
    background: linear-gradient(45deg, var(--primary), var(--primary));
    color: var(--white);
}

button:disabled,
.btn:disabled, .btn.disabled {
    color: var(--dark-gray);
    background: var(--light-gray);
    cursor: inherit;
}
button:not(.navbar-toggler, :disabled),
.btn:not(.disabled, :disabled) {
    position: relative;
}
button:not(.navbar-toggler, :disabled)::before,
.btn:not(.disabled, :disabled)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: width 0.3s ease;
}
button:not(.navbar-toggler, :disabled):hover::before,
.btn:not(.disabled, :disabled):hover::before {
    width: 100%;
}

ol {
    padding-left: 1.3rem;
}
ul {
    padding-left: 1.25rem;
}
p + *,
ol + *,
ul + * {
    margin-top: 0.5rem;
}

.list-unstyled {
    padding-left:0;
    list-style: none;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.bg-primary {
    background: var(--primary);
}
.bg-secondary {
    background: var(--secondary);
}
.bg-accent {
    background: var(--accent);
}
.bg-background {
    background: var(--background);
}
.bg-white {
    background: var(--white);
}
.bg-linear-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}
.bg-linear-gray {
    background: linear-gradient(135deg, var(--white) 0%, #f0f8ff 100%);
}

.text-primary {
    color: var(--primary);
}
.text-secondary {
    color: var(--secondary);
}
.text-accent {
    color: var(--accent);
}
.text-background {
    color: var(--background);
}
.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}
.text-uppercase {
    text-transform: uppercase;
}

.gap-0 {
    gap: 0 !important;
}
.gap-1 {
    gap: 0.25rem !important;
}
.gap-2 {
    gap: 0.5rem !important;
}
.gap-3 {
    gap: 1rem !important;
}
.gap-4 {
    gap: 1.5rem !important;
}
.gap-5 {
    gap: 3rem !important;
}

.opacity-80 {
    opacity: 0.8;
}
.opacity-50 {
    opacity: 0.5;
}

section {
    overflow: hidden;
}

/* hero-section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: shape-float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(-30deg);
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
    transform: rotate(60deg);
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
    transform: rotate(-45deg);
}

@keyframes shape-float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(calc(var(--rotation, 0deg) + 10deg));
    }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    opacity: 0;
    margin-bottom: 0.5rem;
    transform: translateY(100px);
    animation: slideUp 0.8s ease-out forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-title-highlight {
    background: linear-gradient(45deg, var(--accent), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--accent), var(--white));
    animation: underlineExpand 1s ease-out 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

.hero-description {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.scroll-down:hover {
    color: var(--accent);
    text-decoration: none !important;
    transform: translateY(5px);
}

.scroll-down span {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down i {
    font-size: 1.25rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: var(--white);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-item i {
    font-size: 2rem;
    color: var(--accent);
}

.tech-item span {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* Hero Code Preview */
.hero-code-preview {
    max-width: 400px;
    margin: 0 auto;
}

.code-window {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ff5f57;
}

.dot.yellow {
    background-color: #ffbd2e;
}

.dot.green {
    background-color: #28ca42;
}

.code-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', monospace;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-tag {
    color: #7dd3fc;
}

.code-attr {
    color: #fbbf24;
}

.code-string {
    color: #86efac;
}

.code-comment {
    color: #94a3b8;
    font-style: italic;
}

.code-indent {
    color: transparent;
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-title {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* service-card */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem 1rem;
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(45deg, var(--primary), var(--accent));
}

.service-card:hover .service-icon i {
    color: var(--white);
}

/* Service Icon */
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(45deg, var(--light-gray), var(--background));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover .service-icon::before {
    transform: translateX(100%);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

/* Service Content */
.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Technology Badges */
.service-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-card:hover .tech-badge::before {
    left: 100%;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Service Features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.feature-item i {
    color: var(--accent);
    font-size: 0.75rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .feature-item i {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.service-card:hover .feature-item {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.btn-cta {
    background: linear-gradient(45deg, var(--accent), var(--white));
    color: var(--secondary);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
    color: var(--secondary);
}

/* frontend-section */
#frontend {
    position: relative;
}
#frontend::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Frontend CTA */
.frontend-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.frontend-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: patternMove 25s linear infinite;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.section-badge:hover::before {
    width: 100%;
}

.detail-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.detail-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.detail-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Detail Features */
.detail-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-features .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.detail-features .feature-item:hover::before {
    transform: scaleY(1);
}

.detail-features .feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.detail-features .feature-item i {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.detail-features .feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.5;
}

/* Tech Showcase */
.tech-showcase {
    position: relative;
    z-index: 2;
}

.tech-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-logo-item:hover::before {
    opacity: 0.05;
}

.tech-logo-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.tech-logo-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tech-logo-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.tech-logo-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Laravel Showcase */
.laravel-showcase {
    position: relative;
    z-index: 2;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.arch-layer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px outset rgba(30, 41, 59, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.arch-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.arch-layer:hover::before {
    transform: scaleY(1);
}

.arch-layer:hover {
    transform: translateX(8px);
    /*border-color: var(--secondary);*/
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
}

.layer-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.arch-layer:hover .layer-icon {
    transform: scale(1.1) rotate(5deg);
}

.layer-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.layer-content p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.875rem;
}

/* Backend CTA */
.backend-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.backend-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M25 25c0-6.9-5.6-12.5-12.5-12.5S0 18.1 0 25s5.6 12.5 12.5 12.5S25 31.9 25 25zm12.5 0c0-6.9-5.6-12.5-12.5-12.5S12.5 18.1 12.5 25s5.6 12.5 12.5 12.5S37.5 31.9 37.5 25z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: patternMove 20s linear infinite;
}

/* data-engineering */
#data-engineering {
    position: relative;
}
#data-engineering::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(6, 182, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Pipeline Showcase */
.pipeline-showcase {
    position: relative;
    z-index: 2;
}

.data-sources {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(6, 182, 212, 0.1);
    transition: all 0.3s ease;
}

.data-sources:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.sources-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.source-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.source-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.source-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.source-item:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.source-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
}

.data-engineering-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.data-engineering-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M30 30c0-8.3-6.7-15-15-15S0 21.7 0 30s6.7 15 15 15 15-6.7 15-15zm15 0c0-8.3-6.7-15-15-15s-15 6.7-15 15 6.7 15 15 15 15-6.7 15-15z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: patternMove 30s linear infinite;
}

#delivery {
    position: relative;
    background: linear-gradient(135deg, var(--background) 0%, #f0f9ff 100%);
}
#delivery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.principle-card {
    height: 100%;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.principle-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.principle-icon i {
    font-size: 2rem;
    color: var(--white);
}

.principle-card:hover .principle-icon {
    transform: scale(1.1) rotate(5deg);
}

.principle-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.principle-description {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.format-card {
    height: 100%;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
}

.format-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.format-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.format-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.format-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

.format-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.format-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.format-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.format-content {
    padding: 2.5rem 2rem;
}

.format-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

#process {
    position: relative;
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 50%, var(--light-gray) 100%);
}
#process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    min-height: 3rem;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: -6px;
}

.timeline-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    margin-bottom: -6px;
}

/* Process Phase */
.process-phase {
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 2;
}
.process-phase .phase-content {
    position: relative;
}

.process-phase .phase-number {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    z-index: 3;
    transition: all 0.4s ease;
}

.process-phase:last-child {
    margin-bottom: 0;
}

.process-phase:hover .phase-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* Process CTA */
.process-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: patternMove 30s linear infinite;
}

.process-cta .cta-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.process-cta .cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* faq */
#faq {
    position: relative;
}

.faq {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.faq + .faq {
    margin-top: 1rem;
}
.faq .faq-header {
    position: relative;
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
}
.faq .faq-header:after {
    content: '\2b';
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    top: 50%;
    right: 1.125rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    font-family: 'FontAwesome';
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    transform: translateY(-50%);
}
.faq-body {
    height: 0;
    color: var(--text);
    line-height: 1.6;
    overflow: hidden;
}
.faq .faq-body .faq-body-content {
    padding: 1rem;
}

.faq:hover,
.faq.open {
    border-color: var(--primary);
}
.faq:hover .faq-header,
.faq.open .faq-header {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.faq.open .faq-header:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq,
.faq .faq-header,
.faq .faq-header:after,
.faq-body {
    transition: all 0.3s ease-in-out;
}

.faq-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    /*background: linear-gradient(135deg, var(--white) 0%, rgba(37, 99, 235, 0.05) 100%);*/
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    color: var(--secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#contact {
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

#contact .container {
    position: relative;
    z-index: 2;
}

.contact-form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}
.contact-form-container:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
/* form */
form label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
}
form .form-group input:not(input[type="checkbox"], input[type="radio"]),
form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}
form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 2em;
    margin-bottom: .125rem;
}
form .form-group input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    float: left;
    margin-top: 0.125em;
    margin-left: -2rem;
    background-color: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    appearance: none;
}
form .form-group input[type="checkbox"]::after {
    content: '\f00c';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    font-family: 'FontAwesome';
    font-size: 0.875rem;
    color: var(--white);
    text-align: center;
}
form .form-group input[type="checkbox"]:checked {
    border-color: var(--primary);
    background-color: var(--primary);
}


form .form-group input:not(input[type="checkbox"], input[type="radio"]).is-invalid,
form .form-group textarea.is-invalid {
    border-color: var(--red);
}
form .form-group input:not(input[type="checkbox"], input[type="radio"]).is-valid,
form .form-group textarea.is-valid {
    border-color: var(--green);
}

form button {
    width: 100%;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--red);
}

.was-validated :invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-responce {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
}
.form-responce.error {
    background-color: #f8d7da;
    color: #721c24;
}
.form-responce.success {
    background-color: #d4edda;
    color: #155724;
}
.form-responce i {
    font-size: 1.2rem;
}

.contact-info {
    padding: 1.25rem 1rem;
}

/* Contact Methods */
.contact-method {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-method-icon {
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--white);
}

.contact-method-content {
    flex-grow: 1;
}

.contact-method-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-method-link {
    font-weight: 500;
}

.contact-method-link:hover {
    color: var(--accent);
}

.contact-method:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.company-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}
.company-detail-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 15px;
}
.company-detail-item i {
    margin-top: 2px;
    color: var(--primary);
}

footer {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.footer-main {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer,
footer a {
    color: #cbd5e1;
    font-size: 0.9rem;
}
footer a:hover {
    color: var(--accent);
    text-decoration: none !important;
}

.footer-title {
    position: relative;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li + li {
    margin-top: 0.5rem;
}

.footer-menu a {
    position: relative;
    display: inline-block;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    transform: translateX(14px);
}

.footer-menu a:hover::before {
    opacity: 1;
}

.business-hours {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.hours-item .day {
    font-weight: 500;
}

.hours-item .time {
    color: var(--accent);
    font-weight: 500;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    color: #cbd5e1;
}

a.social-link:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    color: #94a3b8;
}
.footer-bottom a {
    color: #94a3b8;
}

#scroll-top {
    width: 40px;
    height: 40px;
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: -100;
    background: var(--primary);
    border-radius: var(--border-radius);
    box-shadow: 0 0 4px var(--light-gray);
    font-size: 1rem;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#scroll-top.visible {
    z-index: 1000;
}