/* 3D Flip Card Interaction - Shared Styles */

.t1-cards {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 4rem auto;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    perspective: 1200px;
    isolation: isolate;
}

.t1-background {
    position: absolute;
    inset: 0;
    width: 100%;
    aspect-ratio: 1;
    background: conic-gradient(from 0deg, #5b21b6 var(--conic-t, 0%), transparent var(--conic-b, 0%));
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px) opacity(0.3);
}

.t1-card {
    margin: auto;
    width: 350px;
    height: 480px;
    background: #1e293b;
    transform-style: preserve-3d;
    transform: rotateY(var(--rotate-y, 0deg));
    will-change: transform;
    border-radius: 2rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.t1-card>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2rem;
}

.t1-card .back {
    background: #0f172a;
    transform: translateZ(-1px) rotateY(180deg);
}

.t1-card .front {
    background: #1e293b;
    transform: translateZ(1px);
}

.t1-card .wrapper-top {
    width: 100%;
}

.t1-card .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
}

.t1-card .count {
    color: var(--text-gray);
    font-weight: 500;
}

.t1-card .main-number {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.t1-card .title {
    font-size: 2rem;
    margin-top: 1.5rem;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.t1-card .info {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.t1-card .card-visual {
    width: 60px;
    height: 60px;
    margin-top: auto;
    opacity: 0.8;
}

.tech-svg {
    width: 100%;
    height: 100%;
}

.tech-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 5s infinite alternate;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .t1-card {
        width: 300px;
        height: 420px;
    }
}