/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* Prevent horizontal overflow on all devices */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.about-hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--teal-400);
    border-radius: 50%;
    opacity: 0.3;
}

.globe-ring.ring-1 {
    width: 200px;
    height: 200px;
    animation: ringRotate 20s linear infinite;
}

.globe-ring.ring-2 {
    width: 280px;
    height: 280px;
    animation: ringRotate 30s linear infinite reverse;
    border-style: dashed;
}

.globe-ring.ring-3 {
    width: 360px;
    height: 360px;
    animation: ringRotate 40s linear infinite;
    opacity: 0.15;
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.globe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(18, 146, 164, 0.5);
    animation: hubPulse 2s ease-in-out infinite;
    padding: 20px;
    z-index: 10;
}

.globe-core img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Orbiting Items */
.orbit-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    animation: orbitCounterSpin 25s linear infinite;
}

@keyframes orbitCounterSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.orbit-item.o1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-item.o2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.orbit-item.o3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-item.o4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.orbit-icon {
    font-size: 24px;
}

.orbit-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.conn-line {
    stroke: var(--teal-400);
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    opacity: 0.3;
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -20;
    }
}

/* Origin Story Section */
.origin-content {
    max-width: 900px;
    margin: 0 auto;
}

.origin-intro {
    text-align: center;
    margin-bottom: 48px;
}

.origin-intro .large-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.origin-intro p {
    font-size: 16px;
    color: var(--gray-600);
}

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.pain-point {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.pain-point:nth-child(2) {
    animation-delay: 0.3s;
}

.pain-point:nth-child(3) {
    animation-delay: 0.6s;
}

.pain-point:nth-child(4) {
    animation-delay: 0.9s;
}

.pain-point:nth-child(5) {
    animation-delay: 1.2s;
}

.pain-point:nth-child(6) {
    animation-delay: 1.5s;
}

.pain-point:hover {
    border-color: #EF4444;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.1);
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.pain-point p {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

/* Revelation Card */
.origin-revelation {
    margin-bottom: 48px;
}

.revelation-card {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: floatCard 6s ease-in-out infinite;
}

.revelation-icon {
    font-size: 48px;
}

.revelation-card p {
    font-size: 20px;
    color: var(--white);
    line-height: 1.6;
}

/* Solution Text */
.origin-solution {
    text-align: center;
}

.solution-text {
    margin-bottom: 32px;
}

.strike-text {
    font-size: 18px;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.highlight-text {
    font-size: 20px;
    color: var(--teal-700);
    font-weight: 600;
    line-height: 1.7;
    margin-top: 24px;
}

.revolution-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gray-100);
    border-radius: 100px;
    animation: floatCard 5s ease-in-out infinite;
}

.revolution-badge span {
    font-size: 28px;
}

.revolution-badge p {
    font-size: 16px;
    color: var(--gray-700);
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
    transition: all 0.4s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.mv-card:nth-child(2) {
    animation-delay: 1s;
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--teal-400);
    transform: translateY(-8px);
}

.mv-icon {
    font-size: 48px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(32, 178, 200, 0.2);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.2;
    }
}

.mv-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal-300);
    margin-bottom: 16px;
}

.mv-card blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--teal-400);
}

.mv-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.mv-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-300);
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--white);
    flex-shrink: 0;
}

.vision-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.vision-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-300);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.vision-item span:first-child {
    font-size: 18px;
}

.mv-footer {
    font-size: 14px;
    color: var(--gray-400);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Philosophy Section */
.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.philosophy-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: floatCard 6s ease-in-out infinite;
}

.philosophy-card:nth-child(2) {
    animation-delay: 1s;
}

.philosophy-card:nth-child(3) {
    animation-delay: 2s;
}

.philosophy-card:nth-child(4) {
    animation-delay: 3s;
}

.philosophy-card:nth-child(5) {
    animation-delay: 4s;
}

.philosophy-card:nth-child(6) {
    animation-delay: 5s;
}

.philosophy-card:hover {
    border-color: var(--teal-400);
    box-shadow: 0 15px 50px rgba(18, 146, 164, 0.1);
    transform: translateX(8px);
}

.phil-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-200);
    flex-shrink: 0;
    width: 80px;
}

.philosophy-card:hover .phil-number {
    color: var(--teal-400);
}

.phil-content {
    flex: 1;
}

.phil-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.phil-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.phil-icon {
    font-size: 40px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.philosophy-card:hover .phil-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* Legacy Problem Section */
.legacy-comparison {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.legacy-problems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.legacy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.legacy-card:nth-child(2) {
    animation-delay: 0.4s;
}

.legacy-card:nth-child(3) {
    animation-delay: 0.8s;
}

.legacy-card:nth-child(4) {
    animation-delay: 1.2s;
}

.legacy-card:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
}

.legacy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.legacy-icon {
    font-size: 28px;
}

.legacy-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    flex: 1;
}

.legacy-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
}

.legacy-status.fail {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.legacy-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legacy-card li {
    font-size: 13px;
    color: var(--gray-400);
    padding-left: 16px;
    position: relative;
}

.legacy-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #EF4444;
}

/* Solution Arrow */
.solution-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.arrow-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--teal-400), transparent);
}

.arrow-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-300);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* AIMatric Solution */
.aimatric-solution .solution-card {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.solution-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.solution-icon {
    font-size: 40px;
}

.solution-header h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.solution-status.success {
    background: var(--success);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.execution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 80px;
}

.step-icon {
    font-size: 24px;
}

.flow-step span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.flow-arrow {
    font-size: 20px;
    color: var(--teal-400);
    animation: arrowPulse 1s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(4px);
    }
}

.solution-footer {
    font-size: 16px;
    color: var(--gray-300);
}

/* Differentiators Grid */
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.diff-card-large {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.diff-card-large:nth-child(2) {
    animation-delay: 0.5s;
}

.diff-card-large:hover {
    border-color: var(--teal-400);
    box-shadow: 0 20px 60px rgba(18, 146, 164, 0.12);
    transform: translateY(-8px);
}

.diff-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.diff-card-large h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.diff-card-large p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.agent-avatars {
    display: flex;
    gap: 8px;
}

.agent-mini {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.agent-mini.mark {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.agent-mini.vali {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.agent-mini.sally {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.agent-mini.rekon {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
}

.workflow-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.workflow-mini span:nth-child(even) {
    color: var(--teal-500);
}

.compliance-badges {
    margin-top: 16px;
}

/* Architecture Section */
.architecture-visual {
    margin-bottom: 60px;
}

.arch-core {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-center {
    position: relative;
    z-index: 10;
}

.arch-hub {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(18, 146, 164, 0.5);
    animation: hubPulse 2s ease-in-out infinite;
}

.arch-hub span {
    font-size: 40px;
    margin-bottom: 4px;
}

.arch-hub p {
    font-size: 10px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arch-capabilities {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.arch-cap {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    animation: floatCard 4s ease-in-out infinite;
}

.arch-cap:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--teal-400);
    transform: scale(1.1);
}

.arch-cap span {
    font-size: 24px;
}

.arch-cap p {
    font-size: 10px;
    color: var(--gray-300);
    font-weight: 600;
}

.arch-cap.cap-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.arch-cap.cap-2 {
    top: 35%;
    right: 15%;
    animation-delay: 0.4s;
}

.arch-cap.cap-3 {
    bottom: 15%;
    right: 25%;
    animation-delay: 0.8s;
}

.arch-cap.cap-4 {
    bottom: 15%;
    left: 25%;
    animation-delay: 1.2s;
}

.arch-cap.cap-5 {
    top: 35%;
    left: 15%;
    animation-delay: 1.6s;
}

.architecture-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.arch-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.arch-feature:nth-child(2) {
    animation-delay: 0.3s;
}

.arch-feature:nth-child(3) {
    animation-delay: 0.6s;
}

.arch-feature:nth-child(4) {
    animation-delay: 0.9s;
}

.arch-feature:nth-child(5) {
    animation-delay: 1.2s;
}

.arch-feature:nth-child(6) {
    animation-delay: 1.5s;
}

.arch-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--teal-400);
    transform: translateY(-4px);
}

.arch-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.arch-feature h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.arch-feature p {
    font-size: 12px;
    color: var(--gray-400);
}

/* Team Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.expertise-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.expertise-item:nth-child(2) {
    animation-delay: 0.2s;
}

.expertise-item:nth-child(3) {
    animation-delay: 0.4s;
}

.expertise-item:nth-child(4) {
    animation-delay: 0.6s;
}

.expertise-item:nth-child(5) {
    animation-delay: 0.8s;
}

.expertise-item:nth-child(6) {
    animation-delay: 1s;
}

.expertise-item:nth-child(7) {
    animation-delay: 1.2s;
}

.expertise-item:nth-child(8) {
    animation-delay: 1.4s;
}

.expertise-item:nth-child(9) {
    animation-delay: 1.6s;
}

.expertise-item:hover {
    border-color: var(--teal-400);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(18, 146, 164, 0.1);
}

.expertise-icon {
    font-size: 28px;
}

.expertise-item p {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.team-achievements {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.team-achievements h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal-100);
    margin-bottom: 32px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.achievement {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
}

.achievement-label {
    font-size: 13px;
    color: var(--teal-100);
}

.achievements-note {
    font-size: 16px;
    color: var(--white);
    line-height: 1.7;
}

/* Promise Section */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.promise-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.promise-card:nth-child(2) {
    animation-delay: 0.3s;
}

.promise-card:nth-child(3) {
    animation-delay: 0.6s;
}

.promise-card:nth-child(4) {
    animation-delay: 0.9s;
}

.promise-card:nth-child(5) {
    animation-delay: 1.2s;
}

.promise-card:hover {
    border-color: var(--teal-400);
    box-shadow: 0 15px 50px rgba(18, 146, 164, 0.12);
    transform: translateY(-8px);
}

.promise-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.promise-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.promise-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Future Section */
.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.future-intro {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.future-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px;
    animation: floatCard 5s ease-in-out infinite;
}

.future-item:nth-child(2) {
    animation-delay: 0.3s;
}

.future-item:nth-child(3) {
    animation-delay: 0.6s;
}

.future-item:nth-child(4) {
    animation-delay: 0.9s;
}

.future-item:nth-child(5) {
    animation-delay: 1.2s;
}

.future-item:nth-child(6) {
    animation-delay: 1.5s;
}

.future-item:nth-child(7) {
    animation-delay: 1.8s;
}

.future-item:nth-child(8) {
    animation-delay: 2.1s;
}

.future-item:nth-child(9) {
    animation-delay: 2.4s;
}

.future-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--gray-200);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: floatCard 4s ease-in-out infinite;
}

.future-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--teal-400);
    transform: translateX(8px);
}

.future-check {
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
    flex-shrink: 0;
}

.future-outcomes {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--teal-400);
}

.future-outcomes p {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.8;
}

.outcome-highlight {
    font-size: 18px !important;
    color: var(--teal-300) !important;
    margin-top: 12px;
}

/* Transformation Visual */
.transformation-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transform-before,
.transform-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    width: 100%;
    max-width: 250px;
}

.transform-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.transform-icon {
    font-size: 48px;
}

.transform-icon.glow {
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(18, 146, 164, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(18, 146, 164, 0.8));
    }
}

.transform-before p,
.transform-after p {
    font-size: 14px;
    color: var(--gray-300);
    font-weight: 500;
}

.transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.arrow-animation {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    color: var(--teal-400);
}

.arrow-animation span {
    animation: arrowBounce 1.5s ease-in-out infinite;
}

.arrow-animation span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-animation span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowBounce {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

.arrow-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Risk Reversal Section */
.risk-reversal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.risk-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
    animation: floatCard 5s ease-in-out infinite;
}

.risk-item:nth-child(2) {
    animation-delay: 0.3s;
}

.risk-item:nth-child(3) {
    animation-delay: 0.6s;
}

.risk-item:nth-child(4) {
    animation-delay: 0.9s;
}

.risk-item:nth-child(5) {
    animation-delay: 1.2s;
}

.risk-item:nth-child(6) {
    animation-delay: 1.5s;
}

.risk-item:hover {
    border-color: var(--success);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.12);
    transform: translateY(-8px);
}

.risk-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.risk-item p {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Responsive */
@media (max-width: 1200px) {
    .promise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .risk-reversal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .globe-container {
        width: 300px;
        height: 300px;
    }

    .orbit-item {
        width: 60px;
        height: 60px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .legacy-problems {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .future-grid {
        grid-template-columns: 1fr;
    }

    .future-visual {
        order: 2;
    }
}

@media (max-width: 768px) {

    /* Hero Section - Mobile */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .hero h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Globe Container - SHOW on mobile with smaller size */
    .globe-container {
        display: flex !important;
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto;
    }

    .globe {
        width: 120px !important;
        height: 120px !important;
    }

    .globe-ring.ring-1 {
        width: 140px !important;
        height: 140px !important;
    }

    .globe-ring.ring-2 {
        width: 200px !important;
        height: 200px !important;
    }

    .globe-ring.ring-3 {
        width: 260px !important;
        height: 260px !important;
    }

    .globe-core {
        width: 80px !important;
        height: 80px !important;
        padding: 12px !important;
    }

    /* Orbit Items - Smaller on mobile */
    .orbit-item {
        width: 50px !important;
        height: 50px !important;
    }

    .orbit-icon {
        font-size: 18px !important;
    }

    .orbit-label {
        font-size: 8px !important;
    }

    /* Section Spacing */
    .section {
        padding: 60px 0 !important;
    }

    .section-header {
        margin-bottom: 32px !important;
    }

    .section-title {
        font-size: 28px !important;
    }

    /* Content Grids */
    .pain-points-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .philosophy-card {
        flex-direction: column;
        text-align: center;
        padding: 24px !important;
    }

    .phil-number {
        width: auto;
        margin-bottom: 12px;
    }

    .legacy-problems {
        grid-template-columns: 1fr !important;
    }

    .differentiators-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .execution-flow {
        flex-direction: column;
        gap: 12px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .achievements-grid {
        grid-template-columns: 1fr !important;
    }

    .risk-reversal-grid {
        grid-template-columns: 1fr !important;
    }

    .promise-grid {
        grid-template-columns: 1fr !important;
    }

    /* Mission/Vision Cards */
    .mission-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .mv-card {
        padding: 32px 20px !important;
    }

    /* Origin Section */
    .origin-intro .large-text {
        font-size: 18px !important;
    }

    .revelation-card {
        padding: 32px 20px !important;
    }

    .revelation-card p {
        font-size: 18px !important;
    }

    /* Architecture */
    .arch-core {
        transform: scale(0.8);
    }

    .architecture-features {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Team Section */
    .team-achievements {
        padding: 32px 20px !important;
    }

    /* Typography */
    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    /* Prevent horizontal overflow */
    .container {
        overflow-x: hidden;
    }

    /* Make sure content doesn't overflow */
    * {
        max-width: 100%;
    }

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

/* Extra small mobile devices */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .globe-container {
        width: 240px !important;
        height: 240px !important;
    }

    .globe {
        width: 100px !important;
        height: 100px !important;
    }

    .globe-ring.ring-1 {
        width: 120px !important;
        height: 120px !important;
    }

    .globe-ring.ring-2 {
        width: 170px !important;
        height: 170px !important;
    }

    .globe-ring.ring-3 {
        width: 220px !important;
        height: 220px !important;
    }

    .globe-core {
        width: 70px !important;
        height: 70px !important;
    }

    .orbit-item {
        width: 45px !important;
        height: 45px !important;
    }

    .orbit-icon {
        font-size: 16px !important;
    }

    .orbit-label {
        font-size: 7px !important;
    }

    .expertise-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-buttons .btn {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }

    .mv-card blockquote {
        font-size: 18px !important;
    }

    .revelation-card p {
        font-size: 16px !important;
    }
}


/* =========================
   12 Months From Now – CSS-only animation block
   Usage:
   1) Wrap your content with:
      <section class="aim12">
        <h3 class="aim12__eyebrow">12 Months From Now</h3>
        <h2 class="aim12__title">Where AIMatric Will Take You</h2>
        <p class="aim12__lead">Imagine this transformation:</p>

        <ul class="aim12__list">
          <li style="--i:0">Your marketing runs 80% autonomously</li>
          <li style="--i:1">Your support handles 60–70% queries without humans</li>
          <li style="--i:2">Your finance team closes books in hours, not days</li>
          <li style="--i:3">Your sales pipelines are nurtured 24/7</li>
          <li style="--i:4">Your documents are processed instantly</li>
          <li style="--i:5">Your compliance is automatic</li>
        </ul>

        <p class="aim12__body">
          Your business is faster. Your teams are more strategic. Your operations are more predictable.
          Your customers are more satisfied. Your costs are significantly lower.
        </p>

        <p class="aim12__closing">That is the AIMatric advantage.</p>
      </section>
   2) Paste this CSS and it will animate in automatically.
   ========================= */

.aim12 {
    --bg1: #070A12;
    --bg2: #0B1430;
    --txt: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .68);
    --glass: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .10);
    --brand1: #C6184E;
    /* AIMatric */
    --brand2: #27BAE3;
    /* AIMatric */
    --brand3: #E3D427;
    /* AIMatric accent */
    --radius: 18px;

    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
    color: var(--txt);
    background: radial-gradient(1200px 600px at 10% 10%, rgba(39, 186, 227, .18), transparent 60%),
        radial-gradient(900px 500px at 90% 30%, rgba(198, 24, 78, .16), transparent 55%),
        linear-gradient(180deg, var(--bg1), var(--bg2));
    border: 1px solid var(--stroke);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
    isolation: isolate;
}

/* Animated “aurora” */
.aim12::before,
.aim12::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(closest-side, rgba(39, 186, 227, .22), transparent 60%),
        radial-gradient(closest-side, rgba(198, 24, 78, .18), transparent 62%),
        radial-gradient(closest-side, rgba(227, 212, 39, .14), transparent 65%);
    filter: blur(18px);
    opacity: .8;
    z-index: -2;
    transform: translate3d(0, 0, 0) rotate(0deg);
    animation: aim12Aurora 10s ease-in-out infinite alternate;
}

.aim12::after {
    opacity: .55;
    animation-duration: 13.5s;
    animation-direction: alternate-reverse;
}

@keyframes aim12Aurora {
    0% {
        transform: translate(-6%, -4%) rotate(-6deg) scale(1);
    }

    50% {
        transform: translate(4%, 2%) rotate(6deg) scale(1.05);
    }

    100% {
        transform: translate(8%, -2%) rotate(12deg) scale(1.08);
    }
}

/* Subtle scanline shimmer */
.aim12__scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .06), transparent);
    mix-blend-mode: overlay;
    opacity: .25;
    transform: translateY(-120%);
    animation: aim12Scan 5.8s ease-in-out infinite;
    z-index: -1;
}

@keyframes aim12Scan {
    0% {
        transform: translateY(-120%);
        opacity: .0;
    }

    12% {
        opacity: .22;
    }

    50% {
        opacity: .18;
    }

    100% {
        transform: translateY(120%);
        opacity: .0;
    }
}

/* Headings entrance */
.aim12__eyebrow,
.aim12__title,
.aim12__lead,
.aim12__body,
.aim12__closing {
    opacity: 0;
    transform: translateY(10px);
    animation: aim12FadeUp .75s cubic-bezier(.2, .9, .2, 1) forwards;
}

.aim12__eyebrow {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .78rem;
    color: var(--muted);
    margin: 0 0 8px;
    animation-delay: .05s;
}

.aim12__title {
    margin: 0 0 10px;
    font-weight: 850;
    line-height: 1.1;
    font-size: clamp(1.35rem, 2.3vw, 2.05rem);
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .82), rgba(255, 255, 255, .95));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation-delay: .12s;
}

/* Animated underline */
.aim12__title::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    margin-top: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand2), var(--brand1), var(--brand3));
    opacity: .9;
    animation: aim12Line 1.2s ease forwards;
    animation-delay: .55s;
}

@keyframes aim12Line {
    from {
        width: 0%;
    }

    to {
        width: clamp(120px, 24%, 220px);
    }
}

.aim12__lead {
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 1rem;
    animation-delay: .2s;
}

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

/* Checklist: each item “types in” + check pops */
.aim12__list {
    list-style: none;
    margin: 16px 0 18px;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    backdrop-filter: blur(10px);
}

.aim12__list li {
    --i: 0;
    position: relative;
    padding: 12px 12px 12px 44px;
    margin: 6px 0;
    border-radius: 14px;
    color: rgba(255, 255, 255, .90);
    opacity: 0;
    transform: translateY(10px);
    animation: aim12ItemIn .6s cubic-bezier(.2, .9, .2, 1) forwards;
    animation-delay: calc(.35s + (var(--i) * .18s));
}

/* “glow card” hover (optional) */
.aim12__list li:hover {
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 1px rgba(39, 186, 227, .18) inset;
}

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

/* Check icon */
.aim12__list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 11px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(39, 186, 227, .35), rgba(198, 24, 78, .25));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
    transform: scale(.6);
    opacity: 0;
    animation: aim12CheckPop .55s cubic-bezier(.2, 1.2, .2, 1) forwards;
    animation-delay: calc(.42s + (var(--i) * .18s));
}

@keyframes aim12CheckPop {
    60% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Moving sheen across each item */
.aim12__list li::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .10) 45%, transparent 70%);
    transform: translateX(-120%);
    opacity: 0;
    animation: aim12Sheen 1.25s ease forwards;
    animation-delay: calc(.62s + (var(--i) * .18s));
    pointer-events: none;
}

@keyframes aim12Sheen {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    30% {
        opacity: .35;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Paragraphs */
.aim12__body {
    margin: 12px 0 10px;
    color: rgba(255, 255, 255, .74);
    line-height: 1.65;
    animation-delay: 1.55s;
}

.aim12__closing {
    margin: 0;
    font-weight: 800;
    letter-spacing: .01em;
    font-size: 1.05rem;
    background: linear-gradient(90deg, var(--brand2), var(--brand3), var(--brand1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation-delay: 1.75s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .aim12::before,
    .aim12::after,
    .aim12__scan,
    .aim12__eyebrow,
    .aim12__title,
    .aim12__lead,
    .aim12__list li,
    .aim12__list li::before,
    .aim12__list li::after,
    .aim12__body,
    .aim12__closing,
    .aim12__title::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* Alternative: Use different arrow characters */
.flow-arrow::after {
    content: '→';
}

@media (max-width: 768px) {
    .execution-flow {
        flex-direction: column;
    }

    .flow-arrow::after {
        content: '↓';
    }

    .future-items {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        margin: 20px;
        animation: floatCard 5s ease-in-out infinite;
    }


}
/* ========================================
   OUR JOURNEY TIMELINE SECTION
   ======================================== */

.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Vertical timeline line */
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--orange-600),
        var(--orange-500),
        var(--orange-400),
        var(--orange-500)
    );
    border-radius: 3px;
}

/* Individual milestone container */
.journey-milestone {
    position: relative;
    margin-bottom: 40px;
}

.journey-milestone:last-child {
    margin-bottom: 0;
}

/* Year badge on the timeline */
.milestone-year-badge {
    position: absolute;
    left: -80px;
    top: 0;
    width: 70px;
    text-align: center;
}

.year-text {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--teal-600);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.year-dot {
    position: absolute;
    left: 60px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 4px solid var(--teal-500);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(18, 146, 164, 0.2);
    transition: all 0.3s ease;
}

.journey-milestone:hover .year-dot {
    background: var(--teal-500);
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(18, 146, 164, 0.3);
}

/* Milestone card styling */
.milestone-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent on left edge */
.milestone-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--teal-400), var(--teal-600));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.milestone-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-4px) translateX(4px);
    box-shadow: 0 20px 60px rgba(18, 146, 164, 0.12);
}

.milestone-card:hover::before {
    opacity: 1;
}

/* Highlight card for latest/current milestone */
.milestone-card-highlight {
    background: linear-gradient(135deg, rgba(18, 146, 164, 0.03), rgba(18, 146, 164, 0.08));
    border-color: var(--teal-300);
}

.milestone-card-highlight::before {
    opacity: 1;
    background: linear-gradient(to bottom, var(--orange-400), var(--orange-500));
}

/* Milestone header with icon and title */
.milestone-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.milestone-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.milestone-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin: 0;
}

/* Milestone description */
.milestone-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Milestone features list */
.milestone-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.milestone-features li {
    font-size: 14px;
    color: var(--gray-700);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.milestone-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal-500);
    font-weight: 700;
    font-size: 13px;
}

/* Animation delays for staggered reveal */
.journey-milestone:nth-child(1) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 0s;
}

.journey-milestone:nth-child(2) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 0.3s;
}

.journey-milestone:nth-child(3) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 0.6s;
}

.journey-milestone:nth-child(4) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 0.9s;
}

.journey-milestone:nth-child(5) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 1.2s;
}

.journey-milestone:nth-child(6) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.journey-milestone:nth-child(7) .milestone-card {
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: 1.8s;
}

/* ========================================
   JOURNEY SECTION RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .journey-timeline {
        padding-left: 50px;
    }

    .journey-timeline::before {
        left: 20px;
    }

    .milestone-year-badge {
        left: -50px;
        width: 44px;
    }

    .year-text {
        font-size: 13px;
    }

    .year-dot {
        left: 36px;
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .milestone-card {
        padding: 22px 20px;
    }

    .milestone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .milestone-icon {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .milestone-header h4 {
        font-size: 16px;
    }

    .milestone-description {
        font-size: 14px;
    }

    .milestone-features li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .journey-timeline {
        padding-left: 30px;
    }

    .journey-timeline::before {
        left: 10px;
        width: 2px;
    }

    .milestone-year-badge {
        left: -30px;
        width: 30px;
    }

    .year-text {
        font-size: 11px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
    }

    .year-dot {
        left: 22px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .milestone-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .milestone-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
        border-radius: 10px;
    }

    .milestone-header h4 {
        font-size: 15px;
    }

    .milestone-description {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .milestone-features {
        gap: 8px;
    }

    .milestone-features li {
        font-size: 12px;
        padding-left: 20px;
    }
}

/* ========================================
   REDUCED MOTION SUPPORT FOR JOURNEY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .journey-milestone .milestone-card {
        animation: none !important;
    }

    .milestone-card:hover {
        transform: none;
    }

    .journey-milestone:hover .year-dot {
        transform: none;
    }

    .milestone-card:hover .milestone-icon {
        transform: none;
    }

    .year-dot,
    .milestone-card,
    .milestone-card::before,
    .milestone-icon {
        transition: none !important;
    }
}
