/* Cards2 Section - Thin Horizontal Highlight Strip */

.cards2-section {
    width: 100%;
    background-color: #070016; /* Match current theme */
    min-height: 180px; /* allow content to breathe */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 44px 0 16px;
    overflow: hidden;
}

.cards2-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Increased spacing */
    padding: 0 24px;
}

/* Main Heading: Increased font size */
.cards2-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 48px; /* Increased font size */
    font-weight: 600; /* font-semibold */
    text-align: center;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cards2-heading span {
    display: inline-block;
}

/* Keep all letters stable; rotate only "o" in Power */
.cards2-heading .rotating-o {
    display: inline-block;
    position: relative;
    color: #c4b5fd;
    -webkit-text-fill-color: #c4b5fd;
    background: none;
    transform-origin: 50% 55%;
    animation: cards2-rotate-o 2.4s linear infinite;
}

/* Small marker to make the rotation visibly noticeable */
.cards2-heading .rotating-o::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f472b6;
    top: 2px;
    right: -1px;
}

@keyframes cards2-rotate-o {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cards2-heading .text-white {
    color: #ffffff;
}

/* Highlight "Power" with purple gradient */
.cards2-heading .text-purple {
    background: linear-gradient(to right, #a78bfa, #f472b6); /* from-purple-400 to-pink-400 */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Sub-text: Increased font size */
.cards2-subtext {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 18px; /* Increased font size */
    font-weight: 400;
    color: #9ca3af; /* text-gray-400 */
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em; /* Slight letter spacing for premium feel */
}

/* Responsive Design */
@media (min-width: 768px) {
    .cards2-section {
        height: 180px; /* Increased height desktop */
    }
    
    /* Heading: Increased size */
    .cards2-heading {
        font-size: 56px; /* Increased font size */
    }
    
    /* Sub-text: Increased size */
    .cards2-subtext {
        font-size: 20px; /* Increased font size */
    }
}

@media (max-width: 767px) {
    .cards2-section {
        min-height: 220px; /* avoid clipping on wrapped heading */
        padding: 36px 0 20px;
    }
    
    .cards2-heading {
        font-size: 36px; /* Increased */
    }
    
    .cards2-subtext {
        font-size: 16px; /* Increased */
    }
}
